I had a similar problem with Git. I realized this is a problem with Git Credentials managed by Windows.
Here I tried step by step
- Rebooting my computer.
- Rebooting my network device
- Removing Credentials from Credential Manager in Windows Control Panel
- Override remote URL with
git remote url set
When I tried to click after these steps, windows requested new credentials. I entered my github / any service name and password and the click was successful.
That's what I think. When you do not add credentials manually, Windows saves the credentials in a temporary cache when you create the repository for the first time. Unfortunately, this temporary cache is lost after a while, so the login credentials for your remote Git are lost. Adding them manually once should solve the problem forever.
source share