To see what shell you are using, you can:
echo $SHELL
and it will tell you.
Use the below only if you are using bash.
Run the following to create ~/.git-completion.bash
:
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash > ~/.git-completion.bash