Github does not allow the creation of private forks for public repositories.
The correct way of creating a private fork by duplicating the repo
- Create a bare clone of the repository.
(This is temporary and will be removed so just do it wherever.)
git clone --bare https:/github.com/user/repo-name.git