get from a branch into a new branch code example Example: how to branch from a branch in git $ git checkout -b myFeature dev