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: 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. In the repository's right sidebar, 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