Skip to content
Nations Inquiry — home

Data for 2021

GitHub Repositories, 2021

Figures for 2021, as GitHub published them · stored as published, never rewritten

GitHub Repositories, 2021 covers 213 countries. United States is highest, at 42,333,711; Cook Islands is lowest, at 116. The middle country reads 49,690. Against 2020, 209 values changed (205 up, 4 down), 4 countries joined.

GitHub Repositories · Data for 2021

HighestUnited States

42,333,711

LowestCook Islands

116

Shaded by value in five groups of equal size, darkest at the highest end. Neither end is better. The values describe a shape, not a score.

01Values only

The table

Every country and every column of GitHub Repositories, 2021, as published. The file carries values only, so no position is shown. “=” marks a shared position.

Showing 25 of 213 countries · select a heading to sort

GitHub Repositories, 2021: every country, as published by GitHub.
United StatesUSANorthern America42,333,7112021Q4
ChinaCHNEastern Asia22,678,0262021Q4
IndiaINDSouthern Asia19,972,1092021Q4
BrazilBRASouth America6,636,7912021Q4
United KingdomGBRNorthern Europe5,805,2392021Q4
RussiaRUSEastern Europe5,226,9312021Q4
Hong KongHKGEastern Asia5,021,6572021Q4
GermanyDEUWestern Europe4,975,0852021Q4
CanadaCANNorthern America4,832,1612021Q4
JapanJPNEastern Asia4,661,8352021Q4
FranceFRAWestern Europe4,187,3312021Q4
South KoreaKOREastern Asia3,598,1362021Q4
IndonesiaIDNSouth-eastern Asia3,266,1592021Q4
SpainESPSouthern Europe2,669,9342021Q4
UkraineUKREastern Europe2,562,3952021Q4
VietnamVNMSouth-eastern Asia2,449,8502021Q4
AustraliaAUSAustralia and New Zealand2,283,9052021Q4
PolandPOLEastern Europe2,171,8442021Q4
NetherlandsNLDWestern Europe2,073,7462021Q4
TaiwanTWNEastern Asia1,981,1922021Q4
SingaporeSGPSouth-eastern Asia1,908,5422021Q4
MexicoMEXCentral America1,873,6022021Q4
TürkiyeTURWestern Asia1,575,7802021Q4
BangladeshBGDSouthern Asia1,561,7632021Q4
ItalyITASouthern Europe1,395,2052021Q4

02In 2021

At either end

The 5 countries at each end of the headline.

Highest

  1. United States42,333,711
  2. China22,678,026
  3. India19,972,109
  4. Brazil6,636,791
  5. United Kingdom5,805,239

Neither end is better. The values describe a shape, not a score. The middle country reads 49,690. “Shared” marks a value another country also holds.

032020 → 2021

Since 2020

What changed between 2020 and this one: who joined or left, and how far the headline moved.

  • +4 / −0countries joined / left
  • 209values changed, of 209 in both
  • 205 · 4rose · fell
  • 0unchanged

Rose most

  • United States35,235,403 → 42,333,711+7,098,308
  • India13,198,250 → 19,972,109+6,773,859
  • Hong Kong2,964,118 → 5,021,657+2,057,539
  • Brazil4,698,298 → 6,636,791+1,938,493
  • Russia3,899,588 → 5,226,931+1,327,343

Fell most

+ Central African Republic+ Saint Martin+ Palau+ Kosovo

Changes in value, not in places: a country’s place also moves when others do. Every country’s full history is charted on the statistic page.

04Caveats

Read before you use

What this edition’s numbers are and are not, worked out from the file itself.

The site’s method
  • 212 distinct values among 213

    Values are stored exactly as published. 2 countries share 841. Countries sharing a value share a position too.

  • Which end is better

    Neither end is better. The values describe a shape, not a score.

  • Nothing missing

    Every one of the 213 countries has every column.

05The files

Download and cite

The table as a file, digit for digit, what this site changed, and a citation for this edition.

Licence in full

What this site changed: Reshaped into one row per country: regional and income-group totals are left out, only the columns listed are kept, each row gets its ISO 3166 code, and some country names are brought to one spelling. No value is recalculated, rescaled or rounded.

Licence: CC0 1.0. No conditions at all. Crediting the publisher is still the courteous thing to do.

Cite this edition

GitHub (2021). GitHub Repositories, 2021 [data set], describing 2021. As held by Nations Inquiry, https://nationsinquiry.com/datasets/github-repositories/2021

067 held

Other years

07Questions

GitHub Repositories, 2021: questions and answers

Which country has the highest gitHub repositories in GitHub Repositories, 2021?

United States, at 42,333,711, of the 213 countries in the file.

What year does GitHub Repositories, 2021 describe?

2021.

How many countries does GitHub Repositories, 2021 cover?

213.

Where can I download GitHub Repositories, 2021?

On this page, as a CSV file holding every value exactly as published, or from the publisher’s own site, linked below.

Is GitHub Repositories, 2021 the newest?

No. The newest held here is GitHub Repositories, 2026.

Feedback

Feedback

How are we doing?

Two answers are required — a rating and your email. The rest is up to you.