git create new braanch and check out code example Example: create branch from another branch $ git checkout -b myFeature dev