QuestionAnswerJust create a new branch:git checkout -b newBranch And if you do git status you'll see that the state of the code hasn't changed and you can commit it to the new branch.Find unmerged Git branches?Where to store my Git personal access token?