This is what I have in my ~/.bashrc
export GIT_EDITOR=\'/Applications/MacVim.app/Contents/MacOS/Vim -g \'
When I issue
git comm
You need to supply the -f option to vim to ensure that it doesn't background itself.
-f