To learn the basic concepts of the git, I created a repository on my computer.
If you go to the directory where you want to create the repository and initialize the git,
you can control the version of the files in that directory from then on.
You can make directory for making git repository using the following command.
mkdir git-repository
cd git-repository/
After that, the directory can be initialized to use the git through the following command.
git init
If you check the inside of the directory through the following command, you can see that a directory named ".git" has been created.
ls -al