title: Team City git push hangs the build
body: <p>I have an issue with Team City 8.0.3 (build 27540) hanging on a secondary build step that pushes changes to a remote repository.  I can't locate any information that gives me insight into what's wrong.  </p>
  
  <p>The VCS is setup via SSH, using the default private key, and checkout mode is set to automatically on agent.</p>
  
  <p>Source is checked into a "repositoryPath" via a checkout rule.</p>
  
  <p>Build step runs git commands from the working directory of "repositoryPath".</p>
  
  <p><strong>Here is the build log from the second step that runs the commit:</strong></p>
  
  <pre><code>Step 2/2: Commit dlls (Command Line) (running for 1m:09s)
  [16:46:51][Step 2/2] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script5045114249582743499.cmd
  [16:46:51][Step 2/2] in directory: C:\TeamCity\buildAgent\work\8df15579b05cdb68\repositoryPath
  [16:46:51][Step 2/2] [master 9fa24ba] Teamcity update
  [16:46:51][Step 2/2]  1 file changed, 0 insertions(+), 0 deletions(-)
  *** HANGS HERE ***
  </code></pre>
  
  <p><strong>Here is the git push command line step:</strong></p>
  
  <pre><code>"%env.TEAMCITY_GIT_PATH%" add .
  "%env.TEAMCITY_GIT_PATH%" commit -m "Teamcity update"
  "%env.TEAMCITY_GIT_PATH%" push
  </code></pre>
  
  <p>If I drop to the the Team City work directory, I notice that the commit has taken, but hasn't been pushed.  If I attempt a <code>git push</code>, it goes off without any problem.</p>
  
  <p>I would be happy to furnish further detail if it would help.</p>