Tips and Tricks
Rename branch
Renamed to new_name
Push and reset
Delete remote branch
Log
Search change by content
Show changes over time for specific file
Print out a cool visualization of your log
Branch
List all branches and their upstreams
Quickly switch to the previous branch
Get only remote branches
Checkout a single file from another branch
Rewriting history
Rewrite last commit message
Amend the latest commit without changing the commit message.
See also: Rewriting history
Git Aliases
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
See also: More Aliases