how to checkout to another branch in git and create code example Example: creating new branch in git Create a new branch named issue1. $ git branch testing