If you are working on your own project, you will want to create your own repository. You can create the repository on your local system, or on a remote site such as GitHub.
Creating a new git repository
Getting ready
All projects in git need a master folder that holds the rest of the project files.
$ mkdir MyProject
$ cd MyProject
How to do it...
The git init command creates the .git subfolder within your current working directory and initializes the files that configure git.
$ git init