(based on this post which I don't like because they tell you to add a bash file to your home directory)
Run the following commands to begin:
cd /usr/local/bin && curl https://github.com/git/git/raw/master/contrib/completion/git-completion.bash -OL