title: Jenkins with Git: Status code 128
body: <p>I installed Jenkins on Windows 7 and I installed the Git plug-in. When I create a new project and enter the Git Repository URL I get the following error displayed in red on the configuration page:</p>
  
  <blockquote>
    <p>Failed to connect to repository : Command "C:\Program Files\Git\bin\git.exe ls-remote -h <a href="http://path-to-repository/repository.git" rel="nofollow noreferrer">http://path-to-repository/repository.git</a> HEAD" returned status code 128:
    stdout:
    stderr: fatal: unable to access '<a href="http://path-to-repository/repository.git/" rel="nofollow noreferrer">http://path-to-repository/repository.git/</a>': The requested URL returned error: 503</p>
  </blockquote>
  
  <p>The same command works both on the Git bash and the Windows console on the same computer. The jenkins.err.log shows nothing useful. What could be the problem or what tools can I use to track it down?</p>