how to create a branch off another branch git code example Example: create branch from another branch $ git checkout -b myFeature dev