Overview
Before working with Git, verify that it is installed:
git --version
A version result indicates that Git is available. An error indicates that installation or command access still needs attention.
Once inside a repository, inspect its current state with:
git status
Git status reports which branch you are on and identifies files that are modified, newly created, untracked, staged, or otherwise pending action.
Tracked files are files Git already knows from earlier commits or staging. Untracked files are new files that Git has not yet been told to include.