Measure the Github repository size

Nuwantha Fernando
3 min readApr 29, 2020

Before clone a large scale projects into the local machine, it is important to measure the size of a repository.

Once my project lead asked me to do a little change in one of our applications admin panel, So that I required to find out a way to measure the size of the repository which I’m going to clone into my local machine. I searched among many web pages. But most of there suggestions are very hard to understand. Finally, I found a simple way.

So from this tutorial, I’m going to teach you the easiest way to measure the size of the Github repository. The tutorial is containing easy 12 steps to complete the task. Let’s start..

Step 1: Open the chrome browser and navigate to the Chrome web store.

Step 2: Search for the “Github Repository Size” and click on it ( URL: )

Step 2

Step 3: Click on Add to chrome, So the Extension icon will appear in the Chrome toolbar.

Step 3

Step 4: Sign in to your Github account, So now the extension will provide you the repository size of the public repositories.

From here on, I’ll guide you to provide the private repository access to the extension.

Step 5: In the Github account click on the profile icon and then click Settings.

Step 5

Step 6: On the sidebar, click Developer Settings

Step 6 Click on developer settings

Step 7: Now click on Personal access tokens.

Step 7

Step 8: Click on Generate new token

Step 8

Step 9: Add a token Note, And then click on the repo checkbox under the Scope, and then click Generate token.

Step 9

Step 10: Copy the generated token.

Step 10

Step 11: Click on the “GitHub Repository Size” Extension icon in the Chrome toolbar, and now it will ask you to enter the Github token. Enter the GitHub token and press on the OK button.

Step 11

Step 12: Refresh the Github account page and open a private repository. Now you can see the sizes of the private repositories also.

Step 12

Thank You!



Nuwantha Fernando

BSc (Hons) in Computer Science and Software Engineering | Software Engineer at Treinetic (pvt) Ltd