Write a script called git-mycommand, and you can invoke it with 'git mycommand'. Tab completion works too, at least for bash + bash_completion.
if [ -d $HOME/bin ] then PATH=$PATH:$HOME/bin fi