Set the default editor (VSCode)
git config --global core.editor "code --wait"
See answer from rexcfnghk on StackOverflow for more details.
Set the default merge/diff tools (P4Merge)
git config --global merge.tool p4merge
git config --global mergetool.p4merge.path "C:/Program Files/Perforce/p4merge.exe"
git config --global user.name "John Doe"
git config --global user.email [email protected]