I have changed a few files name by de-capitalize the first letter, as in Name.jpg to name.jpg. Git does not recognize this changes and I had to de
Name.jpg
name.jpg
1) rename file Name.jpg to name1.jpg
name1.jpg
2) commit removed file Name.jpg
3) rename file name1.jpg to name.jpg
4) ammend added file name.jpg to previous commit
git add git commit --amend