Github
GitHub is a code hosting and version control platform for developers to collaborate on software projects.
Website
Industry
Website
Share this article:

How to change a private repository to public in GitHub

Here is how to change a private repository to public in github

  1. First open the public repository you want to make private
  2. Next click on "Settings" tab in the top navigation menu
  3. Scroll down to the "Danger Zone" section on the General settings page
  4. Then click on the "Change visibility" button
  5. Click on the "Change to public" option in the dropdown menu
  6. In the confirmation dialog, click on "I want to make this repository private" button
  7. Click on "I have read and understand these effects" in the modal dialog
  8. Finally click on "Make this repository private" button to confirm the action
  9. The repository visibility has been successfully changed to public

Create your own interactive guide with Guideflow

Why should you change a private repository to public in GitHub

GitHub is a leading platform for version control and collaboration, empowering developers to share code seamlessly.

Changing a private repository to public is a straightforward feature that can open up your project to the broader developer community.

By making your repository public, you allow others to view and contribute, fostering collaboration and innovation.

This transition can enhance visibility, attract potential contributors, and accelerate development through shared knowledge and diverse input.

Last update
March 12, 2026
Cursor MariaA cursor points to a button labeled "James."

Create your first demo in less than 30 seconds.