How to move accidentally committed changes to a brand new branch in git? Moving between different branches is tricky if you don't remember all the steps, but you can always bookmark this page.
How to revert the last X commits? The simplest way of revering commits is to reset your head to the last commit you want and just discard the changes, here is how you can do it.
Fuck this noise, I give up. If you are frustrated and don't want to try out anything else, or if nothing else works. This is your last resort that will certainly work.