title: Jenkins slave cannot clone git repo
body: <p>When trying to build a job which involves connecting to a git repo the jenkins slave is unable to clone
  the repo.<br>
  When trying the same with the master it works. The slave is set up on an AWS EC2 Instance (Linux). <br>
  Here is a piece of the console log:<br></p>
  <pre><code>Started by user ...&lt;br&gt;
  Running as SYSTEM&lt;br&gt;
  Building remotely on Jenkins-Slave (Test) in workspace /home/jenkins-slave-01/workspace/TestSlave&lt;br&gt;
  Selected Git installation does not exist. Using Default&lt;br&gt;
  The recommended git tool is: NONE&lt;br&gt;
  using credential d7068211-a7f3-4eef-8c5c-4ba6c23d3766&lt;br&gt;
  Cloning the remote Git repository&lt;br&gt;
  Cloning repository ... &lt;br&gt;
   git init /home/jenkins-slave-01/workspace/TestSlave # timeout=10&lt;br&gt;
  ERROR: Error cloning remote repo 'origin'&lt;br&gt;
  hudson.plugins.git.GitException: Could not init /home/jenkins-slave-01/workspace/TestSlave
  
  [...] 
  
  hudson.plugins.git.GitException: Error performing git command: git init /home/jenkins-slave-01/workspace/TestSlave
  </code></pre>
  <br>
  What do i have to do in order to let the slave uses git and clone the repo?
  <br>
  Thanks for your help.