title: How to fix committing to the wrong Git branch?
body: <p>I just made a perfectly good commit to the wrong branch.
  How do I undo the last commit in my master branch and then take those same changes and get them into my upgrade branch?</p>