1
I had the same problem a long time ago, try to run this:
git config --global user.email "[email protected]"
I also found the following way to change the default account (which was not my case):
Usually Vscode uses the system credential manager’s github credential, it does not store anywhere in the settings. Then try searching or going to the credential manager (Windows Control Panel) -> Windows credentials -> Update your Github password in the list.
I hope I’ve helped!