GitHub doesn't allow you to make a public fork of a private repo, either. When you make a fork of a private repo, the resulting repo is constrained to have no broader access than the original.
You are trying to construct a scenario, where you have the ability to elevate your own rights to somebody else's repo's contents. Name a computer system that intentionally allows people to do that. That similar to demanding that you can still send emails on a terminated email account from your prior employer.
If you want to continue your access to that private repo's source code, you now need to speak to them. They own it, not you.
like it happens when a public repo goes private: I don't loose access to my fork of the repo but access to the original repo
Continue this thread — 3 replies
If you want to continue your access to that private repo's source code, you now need to speak to them. They own it, not you.
Continue this thread — 3 replies