As git is not case-sensitive, if you change the casing of a filename and run git status, you'll find that it won't show in your changeset.
git status
To overcome this, you can run the command below to stage the file:
❯ git mv INDEX.html index.html