My personal list of useful Git commands:
- git diff -- stat
- git log -- stat
- git whatchanged
- git diff -- stat oldbranch newbranch : useful when checking if the changes in new branch are ok and should be merged into oldbranch (e.g. master)
- git diff -- compact-summary oldbranch newbranch
- git diff -- summary oldbranch newbranch
- git diff -- stat otherbranch : to compare the actual branch to another branch
- git diff -- stat oldbranch newbranch – filepath
- git cat-file commit 45093e5
- git cat-file tree 753fef
- git cat-file blob 4d1c43
- git cat-file -p 4d1c43 [pretty print]