You can change a repository's visibility from private to public if you're either an organization owner or have admin permissions for the repository.
Tip: If you're converting your private repository to a public repository as part of a move toward creating an open source project, see the Open Source Guides for helpful tips and guidelines. Once your repository is public, you can also view your repository's community profile to see whether your project meets best practices for supporting contributors.
Only members with owner privileges for an organization or admin privileges for a repository can change a repository's settings. For more information, see "Repository permission levels for an organization."
Warning: When a private repository is made public, its private forks are detached and billed separately. For more information, see "What happens to forks when a repository is deleted or changes visibility?"
On GitHub, navigate to the main page of the repository.
Under your repository name, click Settings.
Click Make public.
- Read the warnings.
- Type the name of the repository that you want to make public.
- Click I understand, make this repository public.