how to change your git editor code example Example: git change default editor git config --global core.editor vim