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