Here is my situation, I'm still new to git and while I was working on a project I didn't constantly commit.
I finished the project and added everything other than the index.html file and committed them. I pushed the changes to my repository. I then checked my git status and saw that index.html was still listed which I thought was a mistake and maybe I just did a little edit by accident or something so I did a git restore index.html.
I almost immediately realized what I did and checked the file to see that the file had been reverted to its original form. Please tell me there is a way to get my changes back. I just want to emphasize that the command I used was git restore index.html

