Available for hire
Git Completion on a Mac

Git Completion On A Mac

To enable bash for git you need to include the git bash completion script in your profile

cd GIT_SRC/contrib/completion
cp git-completion.bash ~/bin
echo "source ~/bin/git-completion.bash" >> ~/.profile
. ~/.profile

Or simply enough if you have the latest git version from macports, follow this one command to automagically include the bash completion file in your profile shell script

echo "source /opt/local/var/macports/software/git-core/1.6.5.3_0+doc/opt/local/share/doc/git-core/contrib/completion/bash_completion.bash" >> ~/.profile

And then reload your profile

. ~/.profile

And hey presto!