Every customer I worked with stores their code either on github or bitbucket. The only one who doesn't let me use my self hosted git repository (I mean the copy on a server of mine.) They also have a copy they can pull from there.
That doesn't help much. Our org, for example, runs private github instance. Only few things end up in github.com, and this is mostly boring stuff like patches to existing projects.
You can now make your private contributions a data-point on your public profile[1] without giving away private information
[1] https://docs.github.com/en/github/setting-up-and-managing-yo...