If you are like me you have probably forgot to write a commit message on one of your commits in the past. When you do that git opens up an editor, in most cases something like Vim, which if you don't use it regularly is completely impossible to grasp. Here is how you take care of that 🙂

To change your editor to nano (Mac/Linux):

git config --global core.editor nano

Or to change your git editor to notepad on Windows:

git config --global core.editor notepad