This question is specifically about the TortoiseGit Windows client. I have a computer that I no longer use which must now be transferred to another programmer without formatting.
Strangely enough, I can't seem to reset TortoiseGit credentials on this machine. There is apparently no credential helper set in the global settings. In fact, the Windows Credential Manager Service on this machine seems to be permanently disabled. I've changed all the local and global configuration settings to avoid mentioning my Git username at all, but still I can push commits from this machine to all my GitHub remotes.
There are some stack overflow questions about setting and saving credentials. I want the exact opposite.
I don't even remember trying to save credentials in this particular computer ever, which is something I rarely do anyway, and I used this computer very little.
go to \Control Panel\User Accounts\Credential Manager click on windows credentials and edit the corresponding credentials