LiveDemo - Open-source alternative to Storylane, Navattic, and Arcade | Product Hunt

How to Make a Repository Private in Github



How to Make a Repository Private in Github: step-by-step guide

  1. Click on your profile icon.

  2. From the drop-down menu, select 'Your repositories'.

  3. Click on the 'New' button.

  4. Create a repository name.

  5. Add a brief description.

  6. Select 'Private' as your desired visibility.

  7. Click 'Create repository' to complete the action.

  8. By following these steps, you can make a repository private in Github.

Quick answer: To make a repository private on GitHub, click your profile icon, select Your repositories, and click New. Enter a repository name and brief description, select Private visibility, and click Create repository.

About this GitHub tutorial

Secure your code on GitHub by setting your repository visibility to private using the repository creation menu. This guide shows how to make a Repository Private in Github in 8 steps, starting with "Click on your profile icon" and finishing with "By following these steps, you can make a repository private in 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 make a Repository Private in Github?

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 Make Github Repository Public, How to Manually Trigger GitHub Action and How to Merge Branch to Main Github. Last reviewed 05 Oct 2026.

LiveDemo - Open-source alternative to Storylane, Navattic, and Arcade | Product Hunt
🚀

Create your first interactive demo in minutes

No credit card required • Start building today

Start free→

This website uses cookies to enhance the user experience.

AcceptDecline