title: Changing capitalization of filenames in Git
body: <p>I am trying to rename a file to have different capitalization from what it had before:</p>
  
  <pre><code>git mv src/collision/b2AABB.js src/collision/B2AABB.js
  fatal: destination exists, source=src/collision/b2AABB.js, destination=src/collision/B2AABB.js
  </code></pre>
  
  <p>As you can see, Git throws a fit over this. I tried renaming using just the plain old <code>mv</code> command as well, but Git doesn't pick up the rename (as a rename <em>or</em> as a new untracked file).</p>
  
  <p>How can I change a file to have a different capitalization of the same name? I am on Mac&nbsp;OS&nbsp;X&nbsp;v10.7.3 (Lion) with Git 1.7.9.1 using <a href="https://en.wikipedia.org/wiki/Z_shell" rel="noreferrer">Z shell</a> (zsh) 4.3.15.</p>