Example: if you have a file edit.txt, and you rename it to Edit.txt normally (using File explorer or mv), Git does not acknowledge any change.
Solution: Instead of mv use git mv. Git now recognizes the change.
source: https://stackoverflow.com/questions/10523849/how-do-you-change-the-capitalization-of-filenames-in-git