title: Jenkins not playing nice with a private GitHub repository (Windows)
body: <p>I cannot for the life of me seem to get my Jenkins CI to work with Github.</p>
  
  <p>I had failure on the clone command, but that was due to keys, so I logged in as service account (the user Jenkins runs under as a Windows Service) and ran the clone command. All good in the hood.</p>
  
  <p>However, when I want to run the fetch to get latest, it won't finish. It just sits there. I have tried via the Git plugin for Jenkins, and also via a Windows commandline script. Neither work. However, if I open a command prompt and type the command in, it works! </p>
  
  <p>So how do I get it to work via Jenkins?</p>
  
  <p>I run this script:</p>
  
  <pre><code>set
  "C:\Program Files (x86)\Git\bin\git.exe" fetch -t ssh://git@github.com/OrgName/MyRepo.git +refs/heads/*:refs/remotes/origin/*
  exit 0
  </code></pre>
  
  <p>and it sticks on the fetch command, never exiting.</p>
  
  <p>Does someone have any suggestion?</p>