[git] How to set default editor of git August 14, 2022 Setting the default editor for git $ git config --global core.editor 'vim' $ export GIT_EDITOR=vim