git merge to parent branch code example Example: merge child branch to parent git git checkout master git merge child