I am trying to rename a file to have different capitalization from what it had before:
git mv src/collision/b2AABB.js src/collision/B2AABB.js fatal: destinat
Considering larsks' answer, you can get it working with a single command with "--force":
git mv --force myfile MyFile