We are using an internal certificate on our server and I\'ve followed the steps in
https://blogs.msdn.microsoft.com/tfssetup/2016/12/19/error-ssl-certificate-problem-una
So I found a better command than disabling https verification globally, hopefully though this will be better handled in future updates to the build agent.
git config --global http."https://YOURTFS.SERVER.HERE:PORT/".sslVerify false
That will only disable it from verifying on your (hopefully internal) git server.