Source: https://stackoverflow.com/questions/1628563/move-the-most-recent-commits-to-a-new-branch-with-git
Note: Any changes not committed will be lost.
git branch newbranch # Create a new branch, saving the desired commits
git reset --hard a1b2c3d4 # or git reset --hard HEAD~3 to move master back by 3 commits
git checkout newbranch # Go to the new branch that still has the desired commits