I\'m on branch-X and have added a couple more commits on top of it. I want to see all the differences between MASTER and the branch that I am on in terms of commits. I could
If you are on Linux, gitg is way to go to do it very quickly and graphically.
If you insist on command line you can use:
git log --oneline --decorate
To make git log nicer by default, I typically set these global preferences:
git config --global log.decorate true
git config --global log.abbrevCommit true