How to Check Repository State in Git (git status)

git status summarizes the current state of your working directory and staging area — which files are modified, staged, or untracked.

Published September 28, 2026

git status summarizes the current state of your working directory and staging area — which files are modified, staged, or untracked.

Key points

  • Run it frequently before committing to confirm exactly what will be included
  • Untracked files (new files Git has never seen) are listed separately from modified tracked files
  • git status -s prints a compact, one-line-per-file summary instead of the full verbose output

Example

git status
More Git articles