Quick summary
Making a GitHub repository private restricts access so only invited collaborators can view your code. This step-by-step guide shows how to create a private repository directly from your GitHub dashboard in under a minute.
Steps
- Click on your profile icon in the top-right corner of the GitHub dashboard.
- From the drop-down menu, select 'Your repositories'.
- Click the 'New' button to start creating a repository.
- Enter a repository name in the name field.
- Add a brief description for your repository.
- Select 'Private' as your desired visibility setting.
- Click 'Create repository' to complete the action.
- Your new private repository is now created and secured on GitHub.
.gif)



