I'm working with Visual Studio and am trying to clone a online repo from a server where gitlab is running. Let's call the server https://gitlab.example.com
I get the following error when I try to clone the repo
Remote: HTTP Basic: Access denied
Error encountered while cloning the remote repository: Git failed with a fatal error.
Authentication failed for 'https://gitlab.example.com/username/test.git/'
When I try it, I get promted to enter a username and password for the server. I entered the user credentials of the user which created the repo.
I've found a similar problem with an answer here on stackoverflow, but this didn't work for me.
I am using Visual Studio 2017 Enterprise 15.7.2