In this blog post, I will show you how to create a git repository on a Linux or Windows machine.
Git is the most popular code versioning control tool in the world, and in this series of articles, I will show you how to use it.
To create a repository called Repo01, I will start with creating a folder with the same name.
Initializing a New Repository
The first command that I will use will create my repository.
I will run from inside the c:\Repo01 folder
The command will create a hidden folder called .git with the following files.
To check the status of the repository, I will run the following command.
In the next article, I will show you how to add files and commit them to the repository.