I encountered this problem someday after upgrading vim through homebrew. Uhh, maybe, I forgot. However this problem can be simply solved by:

git config –global core.editor /usr/bin/vim

via http://stackoverflow.com/questions/14607584/using-vim-for-git-commit-messages-broken-after-updating-janus