The correct way of creating a private frok by duplicating the repo is documented here.
We assume the following:
- Old or original repo is:
- New mirror will be:
For this, the commands are:
- Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)