Philip Kelley has written a great blog post that explains using HTTPS with Team Foundation Server 2013. In it he explains basic auth and Windows auth among other things. If you are using a self-signed certificate, the post will tell you how to add it to your client so that git.exe will work.
Visual Studio 2013 includes in-the-box support for Git version control. That support includes the ability to perform Git network operations from inside of Visual Studio, such as cloning a repository, or performing a fetch, push, or pull operation on an existing repository.
An endpoint for a clone, fetch, push, or pull operation in Git is called a “remote.” Visual Studio 2013’s Git support contains support for remotes using the following protocols.
- HTTP (i.e. https://github.com/libgit2/TestGitRepository, or https://yourname.visualstudio.com/DefaultCollection/_git/YourRepo)
- File paths (i.e. F:\myrepo.git, or \\servername\sharename\myrepo.git)
- git:// URIs