git diff main feature

Category: Git - Core

git diff main feature

Show diff between two branches

Shows the difference between two branches — what changes exist in one but not the other.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.