You need to use a personal access token to clone your repository from GitLab when Two Factor authentication is enabled. Which explained here.
1 snippet, 1 video, 14 developer stories, 4 tools and 2 posts tagged with “Git”
Git branch not showing in Visual Studio Team ExplorerOctober 11, 2017 · 2 min read
If you are having trouble to see the newly created (remote) git branches in the Visual Studio Team Explorer, try the workaround provided in this article.