combine two git repos into one code example Example: how to merge two repositories in github git merge master-holder --allow-unrelated-histories