I would prefer to write my commit messages in Vim, but it is opening them in Emacs.
How do I configure Git to always use Vim? Note that I want to do this globally,
Just try EDITOR=vim git commit.
EDITOR=vim git commit
Or you can set your EDITOR to vim by export EDITOR=vim in your bashrc.
export EDITOR=vim