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