The 3 states of a Git file

A file in a git directory can be in one of 3 states: modified, stages or committed.

Modified File

A modified file is a file that has been modified.. but not yet committed to the git local database.

Staged File

A staged file is a file that has been marked in its current version (after modification) and is ready to be committed

Committed File

A committed file is a file which has been stored in your local database.