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,711LowestCook Islands
116Shaded 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
| 42,333,711 | 2021Q4 | |
| 22,678,026 | 2021Q4 | |
| 19,972,109 | 2021Q4 | |
| 6,636,791 | 2021Q4 | |
| 5,805,239 | 2021Q4 | |
| 5,226,931 | 2021Q4 | |
| 5,021,657 | 2021Q4 | |
| 4,975,085 | 2021Q4 | |
| 4,832,161 | 2021Q4 | |
| 4,661,835 | 2021Q4 | |
| 4,187,331 | 2021Q4 | |
| 3,598,136 | 2021Q4 | |
| 3,266,159 | 2021Q4 | |
| 2,669,934 | 2021Q4 | |
| 2,562,395 | 2021Q4 | |
| 2,449,850 | 2021Q4 | |
| 2,283,905 | 2021Q4 | |
| 2,171,844 | 2021Q4 | |
| 2,073,746 | 2021Q4 | |
| 1,981,192 | 2021Q4 | |
| 1,908,542 | 2021Q4 | |
| 1,873,602 | 2021Q4 | |
| 1,575,780 | 2021Q4 | |
| 1,561,763 | 2021Q4 | |
| 1,395,205 | 2021Q4 | |
| 1,295,439 | 2021Q4 | |
| 1,222,503 | 2021Q4 | |
| 1,180,271 | 2021Q4 | |
| 1,138,889 | 2021Q4 | |
| 1,045,510 | 2021Q4 | |
| 1,010,692 | 2021Q4 | |
| 993,799 | 2021Q4 | |
| 969,678 | 2021Q4 | |
| 946,785 | 2021Q4 | |
| 890,028 | 2021Q4 | |
| 795,948 | 2021Q4 | |
| 700,420 | 2021Q4 | |
| 693,017 | 2021Q4 | |
| 673,027 | 2021Q4 | |
| 670,555 | 2021Q4 | |
| 661,508 | 2021Q4 | |
| 627,543 | 2021Q4 | |
| 624,720 | 2021Q4 | |
| 611,180 | 2021Q4 | |
| 609,800 | 2021Q4 | |
| 597,757 | 2021Q4 | |
| 596,053 | 2021Q4 | |
| 580,937 | 2021Q4 | |
| 552,779 | 2021Q4 | |
| 546,702 | 2021Q4 | |
| 534,882 | 2021Q4 | |
| 495,476 | 2021Q4 | |
| 487,700 | 2021Q4 | |
| 483,172 | 2021Q4 | |
| 396,076 | 2021Q4 | |
| 394,838 | 2021Q4 | |
| 383,013 | 2021Q4 | |
| 379,467 | 2021Q4 | |
| 374,531 | 2021Q4 | |
| 338,230 | 2021Q4 | |
| 327,795 | 2021Q4 | |
| 323,279 | 2021Q4 | |
| 263,302 | 2021Q4 | |
| 246,515 | 2021Q4 | |
| 216,295 | 2021Q4 | |
| 200,769 | 2021Q4 | |
| 196,394 | 2021Q4 | |
| 194,104 | 2021Q4 | |
| 192,670 | 2021Q4 | |
| 186,896 | 2021Q4 | |
| 184,131 | 2021Q4 | |
| 175,078 | 2021Q4 | |
| 173,032 | 2021Q4 | |
| 169,045 | 2021Q4 | |
| 145,958 | 2021Q4 | |
| 145,634 | 2021Q4 | |
| 136,527 | 2021Q4 | |
| 136,101 | 2021Q4 | |
| 135,761 | 2021Q4 | |
| 123,444 | 2021Q4 | |
| 119,917 | 2021Q4 | |
| 114,102 | 2021Q4 | |
| 112,746 | 2021Q4 | |
| 111,565 | 2021Q4 | |
| 107,878 | 2021Q4 | |
| 107,132 | 2021Q4 | |
| 106,604 | 2021Q4 | |
| 104,275 | 2021Q4 | |
| 104,172 | 2021Q4 | |
| 100,121 | 2021Q4 | |
| 94,936 | 2021Q4 | |
| 83,999 | 2021Q4 | |
| 82,444 | 2021Q4 | |
| 77,454 | 2021Q4 | |
| 74,419 | 2021Q4 | |
| 73,399 | 2021Q4 | |
| 69,168 | 2021Q4 | |
| 63,196 | 2021Q4 | |
| 62,701 | 2021Q4 | |
| 61,139 | 2021Q4 | |
| 59,566 | 2021Q4 | |
| 59,181 | 2021Q4 | |
| 58,828 | 2021Q4 | |
| 58,446 | 2021Q4 | |
| 54,286 | 2021Q4 | |
| 51,907 | 2021Q4 | |
| 49,690 | 2021Q4 | |
| 48,343 | 2021Q4 | |
| 46,828 | 2021Q4 | |
| 43,207 | 2021Q4 | |
| 42,655 | 2021Q4 | |
| 41,860 | 2021Q4 | |
| 41,038 | 2021Q4 | |
| 39,750 | 2021Q4 | |
| 38,183 | 2021Q4 | |
| 36,827 | 2021Q4 | |
| 33,520 | 2021Q4 | |
| 32,403 | 2021Q4 | |
| 29,679 | 2021Q4 | |
| 27,841 | 2021Q4 | |
| 27,785 | 2021Q4 | |
| 27,601 | 2021Q4 | |
| 25,708 | 2021Q4 | |
| 24,625 | 2021Q4 | |
| 24,396 | 2021Q4 | |
| 22,536 | 2021Q4 | |
| 21,994 | 2021Q4 | |
| 21,206 | 2021Q4 | |
| 20,056 | 2021Q4 | |
| 19,987 | 2021Q4 | |
| 19,542 | 2021Q4 | |
| 18,259 | 2021Q4 | |
| 17,771 | 2021Q4 | |
| 16,959 | 2021Q4 | |
| 15,262 | 2021Q4 | |
| 13,836 | 2021Q4 | |
| 13,250 | 2021Q4 | |
| 11,781 | 2021Q4 | |
| 10,977 | 2021Q4 | |
| 10,468 | 2021Q4 | |
| 9,064 | 2021Q4 | |
| 8,636 | 2021Q4 | |
| 8,255 | 2021Q4 | |
| 8,178 | 2021Q4 | |
| 8,046 | 2021Q4 | |
| 6,357 | 2021Q4 | |
| 5,970 | 2021Q4 | |
| 5,670 | 2021Q4 | |
| 5,237 | 2021Q4 | |
| 4,930 | 2021Q4 | |
| 4,838 | 2021Q4 | |
| 4,792 | 2021Q4 | |
| 4,776 | 2021Q4 | |
| 4,558 | 2021Q4 | |
| 4,510 | 2021Q4 | |
| 4,466 | 2021Q4 | |
| 4,208 | 2021Q4 | |
| 4,189 | 2021Q4 | |
| 4,028 | 2021Q4 | |
| 3,879 | 2021Q4 | |
| 3,873 | 2021Q4 | |
| 3,785 | 2021Q4 | |
| 3,674 | 2021Q4 | |
| 3,551 | 2021Q4 | |
| 3,546 | 2021Q4 | |
| 3,485 | 2021Q4 | |
| 3,276 | 2021Q4 | |
| 3,091 | 2021Q4 | |
| 3,088 | 2021Q4 | |
| 3,009 | 2021Q4 | |
| 2,969 | 2021Q4 | |
| 2,959 | 2021Q4 | |
| 2,891 | 2021Q4 | |
| 2,791 | 2021Q4 | |
| 2,528 | 2021Q4 | |
| 2,359 | 2021Q4 | |
| 2,221 | 2021Q4 | |
| 2,170 | 2021Q4 | |
| 2,128 | 2021Q4 | |
| 1,892 | 2021Q4 | |
| 1,813 | 2021Q4 | |
| 1,759 | 2021Q4 | |
| 1,723 | 2021Q4 | |
| 1,459 | 2021Q4 | |
| 1,319 | 2021Q4 | |
| 1,218 | 2021Q4 | |
| 1,205 | 2021Q4 | |
| 1,147 | 2021Q4 | |
| 973 | 2021Q4 | |
| 941 | 2021Q4 | |
| 841 | 2021Q4 | |
| 841 | 2021Q4 | |
| 787 | 2021Q4 | |
| 755 | 2021Q4 | |
| 752 | 2021Q4 | |
| 751 | 2021Q4 | |
| 736 | 2021Q4 | |
| 626 | 2021Q4 | |
| 577 | 2021Q4 | |
| 537 | 2021Q4 | |
| 464 | 2021Q4 | |
| 392 | 2021Q4 | |
| 320 | 2021Q4 | |
| 313 | 2021Q4 | |
| 222 | 2021Q4 | |
| 219 | 2021Q4 | |
| 218 | 2021Q4 | |
| 171 | 2021Q4 | |
| 169 | 2021Q4 | |
| 164 | 2021Q4 | |
| 133 | 2021Q4 | |
| 126 | 2021Q4 | |
| 116 | 2021Q4 |
02In 2021
At either end
The 5 countries at each end of the headline.
Highest
United States42,333,711
China22,678,026
India19,972,109
Brazil6,636,791
United Kingdom5,805,239
Lowest
Cook Islands116
Palau126
Tonga133
Micronesia164
Kosovo169
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
Equatorial Guinea740 → 537−203
Bermuda3,197 → 3,088−109
Anguilla420 → 313−107
Sint Maarten489 → 464−25
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.
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.
- .csv
For a spreadsheet or code
213 rows · 7.0 KB · UTF-8, opens in Excel
Opens with 11 lines of source notes; the table starts on row 13.
Download github-repositories-2021-nations-inquiry.csv - ↗
The publisher’s original
GitHub’s own file, on its own site.
repositories.csv
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
‹ The year before
GitHub Repositories, 2020209 countries
The year after ›
GitHub Repositories, 2022214 countries
All of them
GitHub Repositories: every year7 held, with the data dictionary, coverage and licence.
How it has moved, charted by country
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.