Git | git status to check the status of the current branch
The git status command displays all the necessary information about the working directory and the staging area.
git status
It displays information like:
- Whether the current branch is up to date
- Is there anything to commit, push or pull
- The files which are staged, unstaged, or untracked
- The files that are created, modified, or deleted