git mv -f <oldfilepath> <newfilepath>
Rename or move a file even if destination (i.e. <newfilepath>) exists
This command is specially useful in cases where it is necessary to only change the case of the file name, e.g.:
git mv -f readme.md README.md