In this blog post, I will show you how to create a git repository on a Linux or Windows machine.
About Git
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.
Create Repository
To create a repository called Repo01, I will start with creating a folder with the same name.
mkdir c:\Repo01
Initializing a New Repository
The first command that I will use will create my repository.
I will run from inside the c:\Repo01 folder
git init
The command will create a hidden folder called .git with the following files.
Check Status
To check the status of the repository, I will run the following command.
git status
In the next article, I will show you how to add files and commit them to the repository.