Install Git and bash-completion: brew install git bash-completion (Note: If this install fails with a 404 error, and you already have git installed, just remove the git part of this brew install)
Add bash-completion to your ~/.bash_profile:
[ -f /usr/local/etc/bash_completion ]&&. /usr/local/etc/bash_completion ||{# if not found in /usr/local/etc, try the brew --prefix location[ -f "$(brew --prefix)/etc/bash_completion.d/git-completion.bash"]&& \
.$(brew --prefix)/etc/bash_completion.d/git-completion.bash
}