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.

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. For more information, see "What happens to forks when a repository is deleted or changes visibility?"

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Settings. Repository settings button

  3. Click Make public. Make Public button

  4. Read the warnings.
  5. Type the name of the repository that you want to make public.
  6. Click I understand, make this repository public. Warning Popup