git remote add template [URL of the template repo] git fetch --all git merge template/[branch to merge] --allow-unrelated-histories