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