Copy this script and put in home folder https://github.com/git/git/blob/master/contrib/completion/git-completion.bash