Definição
Compara versões: área de trabalho, staging, commits e branches.
Exemplos
1. O que mudou e ainda não foi preparado
git diff
2. O que vai entrar no commit
git diff --staged
3. Diferença entre branches
git diff main...feature/incremental-load --stat