Git Status command helps to find current working directory status. This command helps to find files which are edited but not staged or committed.
As we have already added a new file in our local system repository, so we will now check its status.
To check the status git status command is used and its syntax is very simple as below:
As we can see in the above status we have used git status command and it has shown us the status of our local repository, an untracked file is shown to us in red color in the above screenshot.