I have a codebase that has a folder that was written with an upper case letter. I changed it to lower case and committed it.
Before: Onboarding
After: onboarding
Now I saw that all my changes are duplicated when I commit changes to files in that folder.
screens/onboarding/Registration.js
screens/Onboarding/Registration.js
Strange thing is, there is no upper case folder in my filesystem anymore, but somehow Git sees them and even finds changes in them.
How do I get rid of these duplicated files in the (non-existent?) upper case folder?