how to mirror a file from a public and a private repo code example
Example: git mirror repository
cd myrepo
git fetch origin
git push --mirror <remote_repo_git_url>
cd myrepo
git fetch origin
git push --mirror <remote_repo_git_url>