defult git editor code example Example: how to set default editor in git git config --global core.editor nano