Get this identity error from GitHub occasionally when trying to push to a local branch (on my dev machine) to an origin branch (on the the server).
Searched the web and found the following fix that clears cached GitHub credentials:
- Open Credential Manager on your dev machine
- Click on Windows Credentials under Manage your credentials
- Under Generic Credentials, click on GitHub
- Remove the Generic Credentials for GitHub
- Retry the operation.
- You should be prompted for a credentials.
- Input your credentials and you should be good to go.
