Git add command: Track a new file

In this article, we will explore how Git tracks new files using the git add command.

In a git repository, we realize that we want to add a new file into that repository called opengenus_project. So let us add this new file to the repository by typing touch rockets.txt.

This is a companion discussion topic for the original entry at