title: Jenkins: Git Failed to connect to repository, returned status code 128
body: <p>I'm attempting to clone a remote GitHub enterprise repository and am running into the following error after adding my remote repo's URL to the Git Plugin in my Jenkins configuration:</p>
  
  <pre><code>Failed to connect to repository : Command "git.exe ls-remote -h https://&lt;&lt;server&gt;&gt;/M/AS.git HEAD" returned status code 128:
  stdout: 
  stderr: fatal: unable to access 'https://&lt;&lt;server&gt;&gt;/M/AS.git/': Received HTTP code 502 from proxy after CONNECT
  </code></pre>