We’ve recently started working on the Centos 5 distribution of Linux in the office. It’s all good, and git was already installed when I started work. It became a little irritating that it’s autocomplete functionality wasn’t enabled however. After a bit of searching, I came across the following blog:
http://cakebaker.42dh.com/2011/04/06/bash-autocompletion-for-git/
Great stuff. Having followed those instructions, the autocomplete in git was working fine.