🌱 BasicsCommonly used

How to check the status of your Git repository

See which files are staged, unstaged, or untracked.

Check status
git status

Shows staged changes (ready to commit), unstaged changes, and untracked files.

When to use: Before staging, committing, or pushing — always a good habit.

Short status
git status -s

Compact output. M = modified, A = added, ?? = untracked.

When to use: When you want a quick overview without the verbose output.

← Back to Git Reference