Skip to content
Back to template gallery
GitHub
GitHub

How to make a GitHub Repo private/public

Uploading your projects to GitHub is simple, but sometimes you don't want the whole internet to have access to your repository. In situations like this, it can be helpful to hide your repository on GitHub by changing the visibility preferences

IT & Engineering
6 steps 2 min Community template
1

Click the my-repo link

Click the "my-repo" link in the repository list to open its details page.

github.com
Click the my-repo link
2

Click the Settings tab

Click the Settings tab in the repository navigation bar to access repository configuration options.

github.com
Click the Settings tab
3

Scroll all the way down to the "Danger Zone" and hit "Change visibility."

Click the "Change visibility" button in the Danger Zone section to modify the repository's public or private status.

github.com
Scroll all the way down to the "Danger Zone" and hit "Change visibility."
4

Hit the button labeled Change to private/public

Hit the button labeled Change to private/public

github.com
Hit the button labeled Change to private/public
5

Click the "I want to make this repository public" button

Click the "I want to make this repository public" button within the confirmation modal to proceed.

github.com
Click the "I want to make this repository public" button
6

Click the "I have read and understand these effects" button

Click the "I have read and understand these effects" button in the confirmation modal to proceed with changing the repository visibility.

github.com
Click the "I have read and understand these effects" button

Make this walkthrough your own

Duplicate this template, swap in your own screens, and share it with your team. Free to start — no credit card.