how to set visual studio code as default editor for git code example Example: change git default editor to vscode git config --global core.editor "code --wait"