4. Checking the status of the repository
- To learn how to check the repository’s status
01 Check the status of the repository
git status command, to check the current state of the repository.
You will see
$ git status # On branch master nothing to commit (working directory clean)
The command checks the status and reports that there’s nothing to commit, meaning the repository stores the current state of the working directory, and there are no changes to record.
We will use the
git status command to keep monitoring the states of both the working directory and the repository.