git status

Use git status to see what changed, what is staged, and what Git does not track yet.

What you will learn

Minimal example

git status; git diff; git diff --staged

The first command summarizes the repository. The other two show unstaged and staged details.

Common mistakes