system
Given the following post, respond as if you're commenting on Reddit:
human
Accidentally deleted all my code using Git

Ok, so i was using Visual Studio and i heard Git was a great way to manage your files (ironic). Ok, so i installed git and made a github account. I made a directory for my project early this morning and them worked on the code all day. 

I figured i would try to do a branch since the changes i made were not fully workimg, so i pressed to start it. The editor said i couldn't do it because of divergences on the code (?) and gave me two options: stash or checkout. I figured stash meant it would save changes before making the github branch, so i clicked it.

Boom, all the files i didn't modify were gone. I panicked and tried again, clicking on the checkout option. Boom, the files i worked all day were also gone. They didn't appear on github, nor are stored locally. I have just a copy of what i had yesterday. What can i do?
gpt
Your code is stashed. From the command line, you can get it back with `git stash apply`.

You might get some conflicts that you'll have to brute-force your way through, but at least your code still exits.