I am trying to programmatically clone a git repository. My ASP.NET MVC application is creating and starting a process. The code to handle the processes works correctly however t
If you have a PAT, you should not need a password: the PAT would act as your username. See if the following works:
git clone http://PAT@tfs2017:8080/tfs/DefaultCollection/_git/Git%20Repository