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