Git's text editor can be set under the "core.editor" setting:
$ git config --global core.editor "vim"