Git Credential Manager Issue for Git 2.12.2

This bug happens on GitLab.com

It seems that there is an issue with the git credential manager for Git 2.12.2.

After creating a new repo and adding it as the origin, when trying to push or pull I received the error Error_Image

Whenever I would try to push or pull the credential manager would pop up and I would enter the same credentials I use to log into Gitlab. I ensured that these were the correct credentials and even did the same process on Github (create new repo, add as origin, push and pull) to make sure it was a Gitlab problem. When using the Github repo, entering my credentials into the credential manager gave me no error and the push or pull worked properly.

I made sure that I had no 2FA and no SSH keys and when that didn't work I uninstalled Git and reinstalled it without the credential manager. This allowed me to properly authenticate with Gitlab and push and pull to the private repo. I also tested this with an earlier version of Git (2.11.0.3) and there is no issue with the credential manager with this version.

To recreate:

  1. Download git 2.12.2 and install with credential manager.
  2. Create private repo on fresh gitlab account (no ssh, no 2FA)
  3. Init repo in folder on device
  4. git remote add origin
  5. push or pull
  6. When credential manager pops up enter the credentials used to log into gitlab
  7. You will be shown the error in the image above

I have been able to recreate this issue on two different windows 10 devices so I think it is a Gitlab - Git credential manager issue.

Please let me know if I can provide any more info.