In Windows 2003 Server with "wincred"*, none of the other answers helped me. I had to use cmdkey
.
cmdkey /list
lists all stored credentials.cmdkey /delete:Target
deletes the credential with "Target" name.
(* By "wincred" I mean git config --global credential.helper wincred
)