Some aliases for $HOME/.gitconfig to make your work easier:

    unstage = reset HEAD
    discard = checkout --
    co = checkout
    cma = commit -a -m
    dc = diff --cached

Display all of the changes to a certain file, one commit after the other.

git log --follow -p -- filename

Show a graph of commits on all branches, one line per commit with relative dates

git log --graph --pretty=pretty-history --abbrev-commit --date=relative --all