small useful git tricks
Here’s a couple of git aliases I use all the time. It gives you a quick and clear overview of your branches and
commits. It can even watch for changes in realtime and show you any changes.

A better git log
Add this to your .gitconfig:
| |
Run git tree and you get a compact view of your commit history with branches, colored hashes, commit messages, and authors. The --all flag shows all branches, not just the current one.