How it works...

The screens you went through in the recipe are Creating a repository at GitHub server. In essence, it is simply creating a directory and running git init.

Adding the extra files (.gitignore, LICENSE, and README.md) is fairly simple too. Setting up a good .gitignore takes time, but you get a good starting point with the generated one.

GitHub also sets up access control for your repository. Only members of the organization have write permissions; that is, they have the rights to commit. In the settings of the repository, you can define more precise access control under the menu item Collaborators & teams. A team is a group of GitHub users who work together. In your company, you might have iOS, Android, and DevOps teams.

Get Git Version Control Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.