vscode default git code example
Example 1: change git default editor to vscode
git config --global core.editor "code --wait"
Example 2: git commit message editor vscode
git config --global core.editor "'C:\Program Files (x86)\Microsoft VS Code\code.exe' -w"