see https://www.atlassian.com/git/tutorials/git-subtree

init

git subtree add --prefix docs/themes/PaperMod https://github.com/soda92/PaperMod2 my --squash

Pull

git subtree pull --prefix docs/themes/PaperMod https://github.com/soda92/PaperMod2 my --squash