config git editor vim code example Example: config git editor vim git config --global core.editor "vim" or export GIT_EDITOR=vim