From: https://stackoverflow.com/questions/7983204/having-a-private-branch-of-a-public-repo-on-github
- Mirror your repo
- Create a bare clone of the repository
git clone --bare https://github.com/user/old-repository.git
- Mirror-push to the new repository (must already in the remote! Create one up front!)