This is what I have in my ~/.bashrc
export GIT_EDITOR=\'/Applications/MacVim.app/Contents/MacOS/Vim -g \'
When I issue
git comm
I had the same problem. I fixed it by setting mvim as the default editor for git by running the following from the command line:
git config --global core.editor "mvim -f"