I\'d like to move the last several commits I\'ve committed to master to a new branch and take master back to before those commits were made. Unfortunately, my Git-fu is not
How can I go from this
A - B - C - D - E | master
to this?
A - B - C - D - E | | master newbranch
With two commands
giving
A - B - C - D - E | newbranch
and