How to Change Github Repository from Private to Public
- George Apostolov
How to Change Github Repository from Private to Public: step-by-step guide
Navigate to the repository you want to change.
Click on the 'Settings' tab, which is located at the top right of the repository page.
Scroll down to the 'Danger Zone' section at the bottom of the settings page.
Click the 'Change repository visibility' button and select 'Change to public'.
A pop-up will appear asking for confirmation and click on the 'I want to make this repository public' button.
Click on the 'I have read and understand these effects' button.
Click 'Make this repository public'.
Once the repository is public, all code and data in it will be visible to anyone on GitHub.
Quick answer: To change a repository from private to public on GitHub, navigate to your repository, open the Settings tab, scroll to the Danger Zone, and click Change repository visibility. Select Change to public, confirm the prompts, click I have read and understand these effects, and finally select Make this repository public.
About this GitHub tutorial
Make your private GitHub repository public by updating visibility settings in the Danger Zone and confirming the required prompts. This guide shows how to change Github Repository from Private to Public in 8 steps, starting with "Navigate to the repository you want to change" and finishing with "Once the repository is public, all code and data in it will be visible to anyone on GitHub". The interactive demo above is a click-through copy of the real GitHub interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to change Github Repository from Private to Public?
8 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your GitHub data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under GitHub. Related guides: How to Change Github Username, How to Cite Github and How to Clone a Repository from Github in Ubuntu. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





