Make sure you have brew.
brew install git bash-completion
Edit your bash_profile...
vim ~/.bash_profile
...and add this:
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
Save and restart your terminal or run source to make sure it works.
source ~/.bash_profile
Experience the bliss that is git autocompletion.