git diff
HistoryShow changes between commits, commit and working tree, etc
Examples
Common usage examples
Show unstaged changes
git diffShow staged changes
git diff --stagedCompare two branches
git diff main featureRelated Commands
You might also find these useful