I have cloned one of my GitHub repositories with VSCode and I have made some commits. VSCode has asked me for my GitHub password when I have done the first commit.
I
I'm a long time user of VS Code on both Windows and Mac. After looking into Windows Credential Manager and removing the problematic user on Windows 10, if I push from VS Code the problematic user would return. This is of course after restarting VS Code, the system, etc, and trying multiple times. The entry would re-appear in Windows Credential Manager each time.
At some point I decided to try to edit the entry instead of deleting it. This approach worked. Give that approach a try if removing the entry doesn't seem to solve the issue.