Disable Ignorecase (changing case marks files as changed).
git config core.ignorecase false
Reenable Ignorecase (changing case doesn't mark files as changed)
git config core.ignorecase true