Skip to main content
  1. Posts/

GitHub Offers Unlimited Free Private Repositories

·3 mins·

Starting today GitHub offers unlimited free private repositories, which is a long expected one as the competitors like GitLab and BitBucket are already doing it.

Since Microsoft acquired GitHub last year, I expected this change. However, the business model might affect if they do it, as most of the projects hosted in GitHub compared to the competitors.

There will be Pros and Cons on this change.

The Process #

Creating new repository has an option to choose between Private and Public, which is very simple.

To make an existing repo private, go to Settings of the repository and scroll to the bottom where the Danger Zone exists and select the option to make the repository private.


You cannot make a repo to private, if it is forked from a public repo and Github asks to make a fresh repo for such cases.


Once you click on the Make Private button, it would ask to enter the repo name for confirmation.


Done! These steps makes the existing repo private.

The Caveats #

There are few things to notice, when the repos are made private.

Data Services #

First thing to notice when the repo is private github stop accessing it unless you give persission. So there won’t be any audit done on the codes; vulnerability alers are disabled. Providing read-only access would solve the issue.


Github Wikis #

Github Wikis will not be enabled for private repos, unless pro version is puchased. It is expected when the repo is private it is hidden from everyone, including wiki.


GitHub Pages #

Github pages won’t work on private repos, either the repository to be public or the pro version should be purchased.


If there is any static website hosted on github repo, the content and the images of the repo become private and won’t be accessible.

Make it Public Again #

The Process is same. Visit the Settings of the repo, then Danger Zone and make it public. Enter the repo name on the confirmation page.


The Pros and Cons #

  • The change is very much expected for a long time, as people may want to hide their important projects from prying eyes.
  • Since GitHub hosts most of the project and an user need not to switch between different providers for having private repos for free.
  • Small organizations would benefit from this change as they can have free private repos with unlimited users.

It might have negative impact on the growing developers,

  • A developer groom by seeing the codes written by others and learn. If the option of making a repo is easy, most people might hide their work.