I'm completely new to these repositories. I have almost no understanding of how they work, but I've been using them to track the progress for my game.
Today, I just finished making a change when the power went out as soon as I committed the branch. Like within a few seconds after I hit 'commit'.
I restarted my PC to find that my entire repository is missing. It said the index file was corrupt, so I deleted it for some clown reason, and now I have all the changes logged but I can't commit them because my master branch is gone, and I can't create any more branches, because it just says this:
I'm sorry I'm so new to these so I can't provide much useful information. I don't know how to fix this on my own so I don't know what I would even try. I need help