git rebase --onto and the Detached HEAD
In this post, a solution is presented to the problem of rebasing the section of a branch to a new parent commit, and making that new section a new branch on which to work.
Hands-on Sustainable Git and GitHub
Git and GitHub are extremely useful tools for version control and collaborative work. This tutorial is a hands-on introduction to their functionality — you will learn how to set these tools up and how to use them. By the end of this tutorial, you will be able to develop sustainable workflows that you can seamlessly integrate to your everyday toolset.