Same problem here: Error encountered while cloning the remote repository with VS 2015 Update 3 (TFS 2015 Update 3)
But that solution doesn't work for me. Please read the full question.
I received the following error when I tried to clone TFS git repository:
Error encountered while cloning: An error occurred while sending the
request.
Inner Exception:
The remote server returned an error: (401) Unauthorized.
Inner Exception:
No credentials are available in the security package
I did not find any other log details.
I verified that I am able to access TFS repository on the web. I can also clone using Git bash. So it seems to be a problem with Visual Studio storing my credentials.
as per the solution mentioned here, I don't want to delete all credentials for different TFS servers I am connected to.
- I have https://tfs.CodePlex.com/tfs TFS credentials
- I have my personal https://myAccountName.VisualStudio.com credentials and
- I am now connected to my company's tfs http://ipAddress:8080/tfs credentials
First two works fine, I can any time switch to those accounts from Team Explorer but the 3rd one is not working.
Not sure, how to trouble-shoot it