Git has a set of useful commands that are used to check the status of files in the repository, review updates made to the files, and commit changes made to the project files.
The git status command is used to show the working status of the repository. The command essentially gives a summary of the files that have changed and are staged for the next commit. It displays the paths of the files that have differences between the current HEAD commit and the index file. It also displays the paths of the files that have differences between the index file and the working tree as well as paths of the files that are not currently being tracked by Git but have not been added in the .gitignore file:
git status
The git add command uses ...