Git - Diff between two branches

See the differences between two branches

https://stackoverflow.com/questions/9834689/how-can-i-see-the-differences-between-two-branches

To show the difference between two branches. This shows the things that are added in branch2 and deleted from branch1

git diff origin/branch1 origin/branch2

Note: This is different from

git diff origin/branch2 origin/branch1

How to see file differences (Not commit differences)? TODO


Links to this note