title: Jenkins can't find local git repository
body: <p>I am currently installaing a pipeline for my Visual Studio projects with Jenkins (on Windows).</p>
  
  <p>I installed the Git Bash and Jenkins successfully, but when I generate a new Jenkins project I need to give a Repository URL. I entered the path to my project and got the following message: </p>
  
  <blockquote>
    <p>Failed to connect to repository : Error performing command: git.exe
    ls-remote -h file:///Users/myusername/Documents/Visual Studio
    2015/Projects/QtTestApplication HEAD</p>
  </blockquote>
  
  <p>I already searched for a solution and changed the user from Jenkins to the admin:</p>
  
  <p><a href="https://stackoverflow.com/questions/15257652/jenkins-configuration-of-git-plugin">Jenkins configuration of git plugin</a></p>
  
  <p>I double-checked the userchange in the Jenkins systeminformations (it's really running on the admin).</p>
  
  <p>However i still get the same error as before and I'm not quite sure what to enter in this form.
  I already tried "escaping" the whitespaces like this:</p>
  
  <blockquote>
    <p>Failed to connect to repository : Error performing command: git.exe
    ls-remote -h file:///Users/myusername/Documents/Visual\ Studio\
    2015/Projects/QtTestApplication HEAD</p>
  </blockquote>
  
  <p>EDIT: Solution Part 1</p>
  
  <p>I found out, that git was not found by Jenkins and that i had to add it manually to it (edit the PATH variable).</p>