I am getting the following error on agent side checkout:
[13:18:33]: [Updating sources: Agent side checkout...] Failed to perform checkout on agent: 'C:\Git\bin\git.exe fetch --no-tags -q origin +refs/heads/master:refs/remotes/origin/master' command failed. stderr: 'D:\TeamCity\Temp\Agent' is not recognized as an internal or external command, operable program or batch file. fatal: The remote end hung up unexpectedly
I have TeamCity 5.1.5 (13602) and Git 18.104.22.168 on Windows 2003. I can run the specified command from the command prompt with no error.