git subtree add \
-P $REPO1/directory/in/which/to/insert/repo2
$REPO2 \
$REPO2_COMMIT_REF
git push --delete origin $TAG_NAME
This delete all the other directories, so do it in a fresh copy of the repo.
git filter-branch --prune-empty --subdirectory-filter $FOLDER_NAME $BRANCH_NAME