参考资料: https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/duplicating-a-repository
git clone --mirror https://github.com/exampleuser/repository-to-mirror.git
cd repository-to-mirror git remote add mirror_host https://github.com/exampleuser/mirrored
git fetch -p origin git push --mirror mirror_host