Source: gitster/contrib/completion/git-completion.bash; edited for preference
Merge branch 'master' of https://github.com/dimak/bash-stuff