set git editor to vim

Shell
git config --global core.editor "vim"
Source

Also in Shell: