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