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