So, here is a situation. I wrote a lot of code and by the end of the day wanted to commit all that. The branch situation was such:
master
working_branch*
What I did after that was:
git branch 11_11_2018
git add everything
git commit -m "msg"
git push --set-upstream origin/11_11_2018 (sth like that)
git checkout master git branch -d 11_11_2018
Now what happened is that I deleted everything I worked on. I'm somewhat new to GitHub and am really afraid to lose all those precious code lines. The problem here was that I meant to checkout 11_11_2018 but didn't and now I don't completely understand what happened. Please, explain what I actually did and how to revert it if possible?