Git lesson 2: add and commit a file to a repo

In the previous lesson, you created a new folder called project_repo that contained a file called doc1.txt. You then initialized the folder as a repository by running the command git init in that folder. Subsequently, Git started to monitor everything in your repository: new files, deleted files and changed files. You also learned how to check the current state of
Read more