how to set vscode as default code editor on config file for git code example
Example: git commit message editor vscode
git config --global core.editor "'C:\Program Files (x86)\Microsoft VS Code\code.exe' -w"
git config --global core.editor "'C:\Program Files (x86)\Microsoft VS Code\code.exe' -w"