Data for 2021
GitHub Repositories, 2021
Figures for 2021, as GitHub published them · stored as published, never rewritten
How many public software projects on GitHub are based in each country, placed by where the people who run them are. GitHub publishes it quarterly in its Innovation Graph.
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.
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
USANorthern America | 42,333,711 | 2021Q4 |
CHNEastern Asia | 22,678,026 | 2021Q4 |
INDSouthern Asia | 19,972,109 | 2021Q4 |
BRASouth America | 6,636,791 | 2021Q4 |
GBRNorthern Europe | 5,805,239 | 2021Q4 |
RUSEastern Europe | 5,226,931 | 2021Q4 |
HKGEastern Asia | 5,021,657 | 2021Q4 |
DEUWestern Europe | 4,975,085 | 2021Q4 |
CANNorthern America | 4,832,161 | 2021Q4 |
JPNEastern Asia | 4,661,835 | 2021Q4 |
FRAWestern Europe | 4,187,331 | 2021Q4 |
KOREastern Asia | 3,598,136 | 2021Q4 |
IDNSouth-eastern Asia | 3,266,159 | 2021Q4 |
ESPSouthern Europe | 2,669,934 | 2021Q4 |
UKREastern Europe | 2,562,395 | 2021Q4 |
VNMSouth-eastern Asia | 2,449,850 | 2021Q4 |
AUSAustralia and New Zealand | 2,283,905 | 2021Q4 |
POLEastern Europe | 2,171,844 | 2021Q4 |
NLDWestern Europe | 2,073,746 | 2021Q4 |
TWNEastern Asia | 1,981,192 | 2021Q4 |
SGPSouth-eastern Asia | 1,908,542 | 2021Q4 |
MEXCentral America | 1,873,602 | 2021Q4 |
TURWestern Asia | 1,575,780 | 2021Q4 |
BGDSouthern Asia | 1,561,763 | 2021Q4 |
ITASouthern Europe | 1,395,205 | 2021Q4 |
COLSouth America | 1,295,439 | 2021Q4 |
SWENorthern Europe | 1,222,503 | 2021Q4 |
ARGSouth America | 1,180,271 | 2021Q4 |
PAKSouthern Asia | 1,138,889 | 2021Q4 |
NGAWestern Africa | 1,045,510 | 2021Q4 |
PHLSouth-eastern Asia | 1,010,692 | 2021Q4 |
THASouth-eastern Asia | 993,799 | 2021Q4 |
ISRWestern Asia | 969,678 | 2021Q4 |
CHEWestern Europe | 946,785 | 2021Q4 |
EGYNorthern Africa | 890,028 | 2021Q4 |
BELWestern Europe | 795,948 | 2021Q4 |
BLREastern Europe | 700,420 | 2021Q4 |
ROUEastern Europe | 693,017 | 2021Q4 |
IRLNorthern Europe | 673,027 | 2021Q4 |
ZAFSouthern Africa | 670,555 | 2021Q4 |
PRTSouthern Europe | 661,508 | 2021Q4 |
MYSSouth-eastern Asia | 627,543 | 2021Q4 |
DNKNorthern Europe | 624,720 | 2021Q4 |
KENEastern Africa | 611,180 | 2021Q4 |
PERSouth America | 609,800 | 2021Q4 |
CZEEastern Europe | 597,757 | 2021Q4 |
FINNorthern Europe | 596,053 | 2021Q4 |
CHLSouth America | 580,937 | 2021Q4 |
NORNorthern Europe | 552,779 | 2021Q4 |
NZLAustralia and New Zealand | 546,702 | 2021Q4 |
AUTWestern Europe | 534,882 | 2021Q4 |
LKASouthern Asia | 495,476 | 2021Q4 |
IRNSouthern Asia | 487,700 | 2021Q4 |
HUNEastern Europe | 483,172 | 2021Q4 |
BGREastern Europe | 396,076 | 2021Q4 |
GRCSouthern Europe | 394,838 | 2021Q4 |
MARNorthern Africa | 383,013 | 2021Q4 |
NPLSouthern Asia | 379,467 | 2021Q4 |
SAUWestern Asia | 374,531 | 2021Q4 |
TUNNorthern Africa | 338,230 | 2021Q4 |
AREWestern Asia | 327,795 | 2021Q4 |
SRBSouthern Europe | 323,279 | 2021Q4 |
ECUSouth America | 263,302 | 2021Q4 |
KAZCentral Asia | 246,515 | 2021Q4 |
LTUNorthern Europe | 216,295 | 2021Q4 |
ESTNorthern Europe | 200,769 | 2021Q4 |
CRICentral America | 196,394 | 2021Q4 |
DZANorthern Africa | 194,104 | 2021Q4 |
HRVSouthern Europe | 192,670 | 2021Q4 |
GHAWestern Africa | 186,896 | 2021Q4 |
UZBCentral Asia | 184,131 | 2021Q4 |
VENSouth America | 175,078 | 2021Q4 |
SVKEastern Europe | 173,032 | 2021Q4 |
GTMCentral America | 169,045 | 2021Q4 |
BOLSouth America | 145,958 | 2021Q4 |
DOMCaribbean | 145,634 | 2021Q4 |
JORWestern Asia | 136,527 | 2021Q4 |
ARMWestern Asia | 136,101 | 2021Q4 |
LVANorthern Europe | 135,761 | 2021Q4 |
SVNSouthern Europe | 123,444 | 2021Q4 |
IRQWestern Asia | 119,917 | 2021Q4 |
AZEWestern Asia | 114,102 | 2021Q4 |
URYSouth America | 112,746 | 2021Q4 |
KHMSouth-eastern Asia | 111,565 | 2021Q4 |
UGAEastern Africa | 107,878 | 2021Q4 |
SLVCentral America | 107,132 | 2021Q4 |
KGZCentral Asia | 106,604 | 2021Q4 |
GEOWestern Asia | 104,275 | 2021Q4 |
MDAEastern Europe | 104,172 | 2021Q4 |
MMRSouth-eastern Asia | 100,121 | 2021Q4 |
BIHSouthern Europe | 94,936 | 2021Q4 |
PSEWestern Asia | 83,999 | 2021Q4 |
ETHEastern Africa | 82,444 | 2021Q4 |
LBNWestern Asia | 77,454 | 2021Q4 |
CMRMiddle Africa | 74,419 | 2021Q4 |
HNDCentral America | 73,399 | 2021Q4 |
MKDSouthern Europe | 69,168 | 2021Q4 |
LUXWestern Europe | 63,196 | 2021Q4 |
SENWestern Africa | 62,701 | 2021Q4 |
RWAEastern Africa | 61,139 | 2021Q4 |
ISLNorthern Europe | 59,566 | 2021Q4 |
TZAEastern Africa | 59,181 | 2021Q4 |
ALBSouthern Europe | 58,828 | 2021Q4 |
CYPWestern Asia | 58,446 | 2021Q4 |
KWTWestern Asia | 54,286 | 2021Q4 |
PANCentral America | 51,907 | 2021Q4 |
PRYSouth America | 49,690 | 2021Q4 |
PRICaribbean | 48,343 | 2021Q4 |
CIVWestern Africa | 46,828 | 2021Q4 |
JAMCaribbean | 43,207 | 2021Q4 |
QATWestern Asia | 42,655 | 2021Q4 |
ZWEEastern Africa | 41,860 | 2021Q4 |
NICCentral America | 41,038 | 2021Q4 |
YEMWestern Asia | 39,750 | 2021Q4 |
MNGEastern Asia | 38,183 | 2021Q4 |
MLTSouthern Europe | 36,827 | 2021Q4 |
MDGEastern Africa | 33,520 | 2021Q4 |
MUSEastern Africa | 32,403 | 2021Q4 |
MACEastern Asia | 29,679 | 2021Q4 |
OMNWestern Asia | 27,841 | 2021Q4 |
AGOMiddle Africa | 27,785 | 2021Q4 |
SYRWestern Asia | 27,601 | 2021Q4 |
SDNNorthern Africa | 25,708 | 2021Q4 |
BHRWestern Asia | 24,625 | 2021Q4 |
ZMBEastern Africa | 24,396 | 2021Q4 |
CUBCaribbean | 22,536 | 2021Q4 |
BENWestern Africa | 21,994 | 2021Q4 |
MOZEastern Africa | 21,206 | 2021Q4 |
CODMiddle Africa | 20,056 | 2021Q4 |
HTICaribbean | 19,987 | 2021Q4 |
TTOCaribbean | 19,542 | 2021Q4 |
MNESouthern Europe | 18,259 | 2021Q4 |
LBYNorthern Africa | 17,771 | 2021Q4 |
AFGSouthern Asia | 16,959 | 2021Q4 |
LAOSouth-eastern Asia | 15,262 | 2021Q4 |
SOMEastern Africa | 13,836 | 2021Q4 |
TGOWestern Africa | 13,250 | 2021Q4 |
TJKCentral Asia | 11,781 | 2021Q4 |
MDVSouthern Asia | 10,977 | 2021Q4 |
BWASouthern Africa | 10,468 | 2021Q4 |
MWIEastern Africa | 9,064 | 2021Q4 |
NAMSouthern Africa | 8,636 | 2021Q4 |
BRBCaribbean | 8,255 | 2021Q4 |
BFAWestern Africa | 8,178 | 2021Q4 |
BRNSouth-eastern Asia | 8,046 | 2021Q4 |
BTNSouthern Asia | 6,357 | 2021Q4 |
SLEWestern Africa | 5,970 | 2021Q4 |
MLIWestern Africa | 5,670 | 2021Q4 |
IMNNorthern Europe | 5,237 | 2021Q4 |
CPVWestern Africa | 4,930 | 2021Q4 |
LBRWestern Africa | 4,838 | 2021Q4 |
MRTWestern Africa | 4,792 | 2021Q4 |
ANDSouthern Europe | 4,776 | 2021Q4 |
NCLMelanesia | 4,558 | 2021Q4 |
GABMiddle Africa | 4,510 | 2021Q4 |
GMBWestern Africa | 4,466 | 2021Q4 |
BLZCentral America | 4,208 | 2021Q4 |
BHSCaribbean | 4,189 | 2021Q4 |
PYFPolynesia | 4,028 | 2021Q4 |
GINWestern Africa | 3,879 | 2021Q4 |
BDIEastern Africa | 3,873 | 2021Q4 |
SYCEastern Africa | 3,785 | 2021Q4 |
GUYSouth America | 3,674 | 2021Q4 |
NERWestern Africa | 3,551 | 2021Q4 |
GUMMicronesia | 3,546 | 2021Q4 |
CUWCaribbean | 3,485 | 2021Q4 |
PNGMelanesia | 3,276 | 2021Q4 |
SURSouth America | 3,091 | 2021Q4 |
BMUNorthern America | 3,088 | 2021Q4 |
TKMCentral Asia | 3,009 | 2021Q4 |
CYMCaribbean | 2,969 | 2021Q4 |
FJIMelanesia | 2,959 | 2021Q4 |
LSOSouthern Africa | 2,891 | 2021Q4 |
COGMiddle Africa | 2,791 | 2021Q4 |
SWZSouthern Africa | 2,528 | 2021Q4 |
ERIEastern Africa | 2,359 | 2021Q4 |
FRONorthern Europe | 2,221 | 2021Q4 |
MCOWestern Europe | 2,170 | 2021Q4 |
GIBSouthern Europe | 2,128 | 2021Q4 |
LCACaribbean | 1,892 | 2021Q4 |
VIRCaribbean | 1,813 | 2021Q4 |
ABWCaribbean | 1,759 | 2021Q4 |
LIEWestern Europe | 1,723 | 2021Q4 |
GRDCaribbean | 1,459 | 2021Q4 |
DJIEastern Africa | 1,319 | 2021Q4 |
SMRSouthern Europe | 1,218 | 2021Q4 |
TLSSouth-eastern Asia | 1,205 | 2021Q4 |
TCDMiddle Africa | 1,147 | 2021Q4 |
SSDEastern Africa | 973 | 2021Q4 |
ATGCaribbean | 941 | 2021Q4 |
DMACaribbean | 841 | 2021Q4 |
VCTCaribbean | 841 | 2021Q4 |
VGBCaribbean | 787 | 2021Q4 |
KNACaribbean | 755 | 2021Q4 |
TCACaribbean | 752 | 2021Q4 |
SLBMelanesia | 751 | 2021Q4 |
MNPMicronesia | 736 | 2021Q4 |
COMEastern Africa | 626 | 2021Q4 |
GRLNorthern America | 577 | 2021Q4 |
GNQMiddle Africa | 537 | 2021Q4 |
SXMCaribbean | 464 | 2021Q4 |
VUTMelanesia | 392 | 2021Q4 |
WSMPolynesia | 320 | 2021Q4 |
AIACaribbean | 313 | 2021Q4 |
STPMiddle Africa | 222 | 2021Q4 |
MAFCaribbean | 219 | 2021Q4 |
CAFMiddle Africa | 218 | 2021Q4 |
GNBWestern Africa | 171 | 2021Q4 |
XKXSouthern Europe | 169 | 2021Q4 |
FSMMicronesia | 164 | 2021Q4 |
TONPolynesia | 133 | 2021Q4 |
PLWMicronesia | 126 | 2021Q4 |
COKPolynesia | 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
- +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.
04Caveats
Read before you use
212 distinct values among 213
Values are stored exactly as published. 2 countries share 841. Countries sharing a value share a position too.
Nothing missing
Every one of the 213 countries has every column.
05The files
Download and cite
- .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 to one row per country, with its ISO code; no value recalculated, rescaled or rounded. In full
Licence: CC0 1.0 · what it allows, in plain words
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