I use Git inside Visual Studio 2013. When I try to perform any operation with the remote, for example, extraction, pull, push, etc., I get the following error:
An error has occurred. Detailed message: The error was caused by libgit2. Category = Net (Error). The specified login session does not exist. It may already be completed.
I could not find the answer, but in the end I found two workarounds. I posted jobs here.
I downloaded Git to use it outside of Visual Studio. If I run Git remote commands on the command line, they worked just fine, so the problem was not in Git, but in the remote Git repository.
Whenever I perform a remote Git operation through Visual Studio, it uses a standard window dialog to enter a password. I noticed that I would always get an error if the Remember My Credentials field was checked. If I took it off, it would work well.

source share