auto-completion

cd ~
wget https://github.com/git/git/blob/master/contrib/completion/git-completion.bash
mv ~/git-completion.bash ~/.git-completion.bash
edit ~/.bash_profile or ~/.bashrc

add the following to the file:
---
if [ -f ~/.git-completion.bash ]; then
  source ~/.git-completion.bash
fi
---