cd ~
curl -OL https://github.comgit/git/raw/master/contrib/completion/git-completion.bash
mv ~/git-completion.bash ~/.git-completion.bash
dans ~/.bash_profile ou ~/.bashrc
if [ -f ~/.git-completion.bash ]; then source ~/.git-completion.bash fi