Authentication failed for gitlab Client, Remove credentials from Git On Windows
If this problem comes on a Windows machine, do the following steps.
Go to Credential Manager
Go to Windows Credentials
Delete the entries under Generic Credentials
Try connecting again. This time, it should prompt you for the correct username and password.