merge 2 existing project to same git repo code example Example: how to merge two repositories in github git merge master-holder --allow-unrelated-histories