git range-diff

Compare two commit ranges (e.g. two versions of a branch). More information: https://git-scm.com/docs/git-range-diff.

git range-diff {{commit_1}}^! {{commit_2}}^!

git range-diff {{theirs}}...{{ours}}

git range-diff {{base1}}..{{rev1}} {{base2}}..{{rev2}}