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