10 · Version Control

git status

What's changed right now

Shows the state of your working folder — which files changed, which are staged for the next commit, and which branch you're on. The most-run git command, bar none.

Concrete example

Run “git status” constantly to see exactly where you stand before committing.