git clone --bare http://example.com/repo1.git cd repo1 git push --mirror http://example.com/repo2.git