See Git-Mastery → Tour 6: Branching Locally