merging two git repositories as branches code example Example: how to merge two repositories in github git merge master-holder --allow-unrelated-histories