Why This Happens

Git uses filesystem system calls to detect changes. Case-insensitive filesystems report no difference for case-only renames, so Git's index isn't updated. core.ignorecase (set to true on such systems) aligns Git with filesystem behavior.

To change the file name we use the force Rename command : git mv -f readme.md Readme.md