title: Git fatal ambiguous argument 'HEAD' both revision and file name use -- to separate paths from revision like git [....]--[...]
body: <ul>
  <li><p>My git version is 1.8.0 mysysgit0.</p></li>
  <li><p>Remote repo on -linux server.</p></li>
  <li><p>Local repo - Windows 7.</p></li>
  </ul>
  
  <p>When I try to commit my local changes it says fatal error below:</p>
  
  <pre><code>fatal ambiguous argument 'HEAD' both revision and file name use -- to separate paths from revision like  git [....]--[...]
  </code></pre>
  
  <p>Could any one suggest what is the problem? What is the fix?</p>