Skip to content

Git Status

Check the current state of your working tree, staged changes, and branch status.

git status

  • Show changed, staged, and untracked files
  • Use before committing or switching branches

git status --short

  • Show a compact two-column status view
  • Use when you want a quick summary

git status --branch

  • Show status plus branch and tracking information
  • Use when checking whether your branch is ahead or behind the remote
  • git status is safe and should be your first check before most Git operations