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.