Clear the user name and password stored in GIT

Clear the username and password stored in Git
Issue: When vscode is not connected to the remote and the new key is still not working, it may be because you set the SSH key on Gitlab with another account. Even if you generate a new id_rsa.pub on this computer and set its value to Gitlab, this setting will not take effect. When you pull the code, you will find that Git will still log in with your old account.
: To try to clear the username and password stored in git, type the following command.
git config --global credential.helper wincred

Read More: