I have Git (version 1.7.2.5) bash compeletion working on my Debian squeeze (6.0). Git was installed with aptitude and I am using standard debian\'s bash, which supp
bash
The shortest way to activate the bash auto-completion for Git on Debian is to add
source /etc/bash_completion.d/git
to the ~/.bashrc (and restart the terminal).
~/.bashrc
See also here: "Pro Git" -> 2.7 Git Basics - Tips and Tricks -> Auto-Completion.