xxxxxxxxxx
# As long as you're just renaming a file, and not a folder, you can just use git mv:
git mv yOuRfIlEnAmE yourfilename
xxxxxxxxxx
// clear git cache for all files in the project directory recrsively
git rm --cached -r .
// reset all files
git reset .