title: Jenkins giving error while cloning from gitHub
body: <p>I am new to <code>Jenkins</code>, I am getting following error while cloning repository from <code>GitHub</code>.</p>
  
  <p>I tried to search all relevant issues here but could find exact stacktstrace with answers.</p>
  
  <p>I am trying to clone repository which requires username and password, I am providing <code>SSH://</code> repository-path in job configuration settings for my job. I have not done any .ssh related settings yet as this seems to be different problem than security issue with GIT repository. </p>
  
  <p>I couldn't figure out what comment Jenkins is trying to execute, which file/directory it is not finding clueless.</p>
  
  <p><strong>Here is my exact stack trace from Jenkins job:</strong></p>
  
  <blockquote>
    <p>Caused by: java.io.IOException: Cannot run program:  Error trying to
    determine the git version: Error performing command:  --version
        Assuming 1.6
        ERROR: Error cloning remote repo 'myRE' : Could not clone git@github.com:myORG/RVL.myProj.git
        hudson.plugins.git.GitException: Could not clone git@github.com:myORG/RVL.myProj.git
          at hudson.plugins.git.GitAPI.clone(GitAPI.java:268)
          at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1122)
          at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064)
          at hudson.FilePath.act(FilePath.java:842)
          at hudson.FilePath.act(FilePath.java:824)
          at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1064)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
          at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
          at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
          at hudson.model.Run.execute(Run.java:1502)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:236)
        Caused by: hudson.plugins.git.GitException: Error performing command:  clone -o RVL.myProj git@github.com:myORG/RVL.myProj.git
    /var/lib/jenkins/jobs/myProj/workspace
          at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:862)
          at hudson.plugins.git.GitAPI.access$000(GitAPI.java:40)
          at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:264)
          at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:244)
          at hudson.FilePath.act(FilePath.java:842)
          at hudson.FilePath.act(FilePath.java:824)
          at hudson.plugins.git.GitAPI.clone(GitAPI.java:244)
          ... 13 more
        <strong>Caused by: java.io.IOException: Cannot run program ""</strong>: error=2, No such file or directory
          at java.lang.ProcessBuilder.start(Unknown Source)
          at hudson.Proc$LocalProc.(Proc.java:244)
          at hudson.Proc$LocalProc.(Proc.java:216)
          at hudson.Launcher$LocalLauncher.launch(Launcher.java:709)
          at hudson.Launcher$ProcStarter.start(Launcher.java:338)
          at hudson.Launcher$ProcStarter.join(Launcher.java:345)
          at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:843)
          ... 19 more
        Caused by: java.io.IOException: error=2, No such file or directory
          at java.lang.UNIXProcess.forkAndExec(Native Method)
          at java.lang.UNIXProcess.(Unknown Source)
          at java.lang.Pro</p>
  </blockquote>