On case-insensitive file systems like Mac's HFS+ (per default – you may change this, but it won't work for all programs), git won't recognize when you change the casing of files in your repository.
Copygit mv -f oldfile.name Oldfile.name
git mv -f oldfile.name Oldfile.name