how to add vscode as editor in git config code example Example: change git default editor to vscode git config --global core.editor "code --wait"