title: Maven release fails due to git failure
body: <p>I am trying to do a mvn release, but it fails due to problems with git. I have done this multiple times before without this problem, and I really don't get why/how this is happening. </p>
  
  <p>I first got it doing mvn release:prepare, but got around it by adding the last line shown below to my root-pom:</p>
  
  <pre><code>    &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
      &lt;configuration&gt;
        &lt;preparationGoals&gt;clean install&lt;/preparationGoals&gt;
        &lt;pushChanges&gt;false&lt;/pushChanges&gt;
  </code></pre>
  
  <p>But now, when I try to do mvn release:perform, I get the error message again:</p>
  
  <pre><code>[INFO] Executing: cmd.exe /X /C "git clone file://C\Users\torbjornk\nfr\MyProject/ C:\Users\torbjornk\nfr\MyProject\target\checkout"
  [INFO] Working directory: C:\Users\torbjornk\nfr\MyProject\target
  [ERROR] The git-clone command failed.
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD FAILURE  
  [INFO] ------------------------------------------------------------------------
  [INFO] Unable to checkout from SCM
  Provider message:
  The git-clone command failed.
  Command output:
  fatal: 'C:/Program Files (x86)/Git' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>I do not get where it gets the idea that my git-installation-folder is supposed to be a git repository! The git clone-command logged right before the error is happening does not contain a reference to this folder either..</p>