Status & Diff

Inspect changes before committing

Before committing, inspect what changed. status gives an overview, diff shows exact line changes.

Shows which files are modified, staged, or untracked.

index.htmlstaged
style.cssmodified
new-file.jsuntracked
Terminal
$ git status