Use the git status command, to check the current state of the repository.
RUN:
git status
You will see
RESULT:
$ 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.