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,
To make vim the default editor for git on ubuntu 20:04 run the following command:
git config --global core.editor vim