Have a look here for more hints on how to do it:
How to make git ignore changes in case?
Or:
git mv -f name.java Name.java
2.1m questions
2.1m answers
60 comments
57.0k users