I keep getting this error whenever I try to stage both (index.html) files at once.
I'm using VS Code and every time I make changes to the file it appears twice on the git source control tab. I have double-checked to make sure the containing folder only contains one file named index.html and I have also made sure no other similar file exists named in a different casing like (INDEX.html)
I'm only able to stage, commit and push one of the duplicate (index.html) files. The other one is stuck there, unable to even be staged. Please help.