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