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