I'm trying to clone a VSTS (Visual Studio Team Services) repository using LibGit2Sharp. I'm setting up a CredentialsHandler and UsernamePasswordCredentials representing my Microsoft Account's credentials, and the result I get is this:
LibGit2Sharp.LibGit2SharpException was unhandled
HResult=-2146233088
Message=Too many redirects or authentication replays
Source=LibGit2Sharp
If I can't even pass in my actual username and password, I'm not sure what might work.
I also tried using DefaultCredentials as mentioned here, but that appears to be only for TFS, not VSTS (NTLM credentials for TFS).
