1. Go to GitLab and generate access token
2. In Visual Studio remove the remote url under Git Remote
3. Add https://YourPersonalToken@YourRepoDomain.com/RepoName
=> Save
=> When you try to push commits, Git will prompt you to login
=> Use Email Addres as username
=> Use Access Token as Password.