I\'m currently using GitHub over HTTPS and have the latest version of Git installed (1.9.0) along with the Git credential helper on Windows 7.
On setting up my envir
It seems to me that the answers here are outdated. For me under Windows 10 and Git 2.15.0 this did the job:
git credential reject
protocol=https
host=github.com
And then to set the new username & password:
git credential fill
protocol=https
host=github.com
After this, if the credentials now work on the desired target host, we should use git credential approve -as mentioned in typical use of Git credentials (step 4)- to tell the credential helpers to mark the credentials as approved and reuse them in future connections.