If you need to commit files renaming, just capitalization, and you have a problems with staging/commiting, as option
- Change capitalization of "file" name and add "1" to the end (or other symbol)
- Stage (without commit) = result "File1" - renaming files
- Remove "1" from the end
- Stage (without commit) = result "File" - renaming files (only capitalization now)
- Do commit.