try config git editor to vi
the command is
git config --global core.editor vi