Show changes between commits, commit and working tree, etc
Show unstaged changes
git diff
Show staged changes
git diff --staged
Compare two branches
git diff main feature