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