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