Command
Explanation
git diff is used to show changes between commits. It shows the changes between commits.
Examples
Show unstaged changes
Show staged changes
Compare with previous commit
git diff is used to show changes between commits. It shows the changes between commits.
Show unstaged changes
Show staged changes
Compare with previous commit