change default git editor after install code example Example: git change default editor git config --global core.editor vim