Data for 2022
GitHub Repositories, 2022
Figures for 2022, 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, 2022 covers 214 countries. United States is highest, at 50,597,871; Montserrat is lowest, at 111. The middle country reads 65,112. Against 2021, 212 values changed (207 up, 5 down), 2 countries joined, 1 left.
GitHub Repositories · Data for 2022
HighestUnited States
50,597,871LowestMontserrat
111Shaded 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, 2022, as published. The file carries values only, so no position is shown. “=” marks a shared position.
Showing 25 of 214 countries · select a heading to sort
USANorthern America | 50,597,871 | 2022Q4 |
INDSouthern Asia | 27,457,938 | 2022Q4 |
CHNEastern Asia | 20,682,299 | 2022Q4 |
BRASouth America | 9,205,113 | 2022Q4 |
HKGEastern Asia | 8,023,750 | 2022Q4 |
GBRNorthern Europe | 7,038,685 | 2022Q4 |
RUSEastern Europe | 6,214,574 | 2022Q4 |
DEUWestern Europe | 6,176,277 | 2022Q4 |
JPNEastern Asia | 6,000,052 | 2022Q4 |
CANNorthern America | 5,971,277 | 2022Q4 |
FRAWestern Europe | 5,126,816 | 2022Q4 |
KOREastern Asia | 4,747,032 | 2022Q4 |
IDNSouth-eastern Asia | 4,595,557 | 2022Q4 |
ESPSouthern Europe | 3,470,419 | 2022Q4 |
VNMSouth-eastern Asia | 3,289,176 | 2022Q4 |
UKREastern Europe | 2,874,400 | 2022Q4 |
AUSAustralia and New Zealand | 2,858,634 | 2022Q4 |
SGPSouth-eastern Asia | 2,819,829 | 2022Q4 |
POLEastern Europe | 2,806,569 | 2022Q4 |
TWNEastern Asia | 2,558,627 | 2022Q4 |
NLDWestern Europe | 2,556,638 | 2022Q4 |
MEXCentral America | 2,466,161 | 2022Q4 |
TURWestern Asia | 2,426,783 | 2022Q4 |
BGDSouthern Asia | 2,135,254 | 2022Q4 |
NGAWestern Africa | 1,868,357 | 2022Q4 |
ARGSouth America | 1,827,329 | 2022Q4 |
ITASouthern Europe | 1,825,352 | 2022Q4 |
COLSouth America | 1,779,307 | 2022Q4 |
PAKSouthern Asia | 1,635,435 | 2022Q4 |
SWENorthern Europe | 1,494,639 | 2022Q4 |
PHLSouth-eastern Asia | 1,359,892 | 2022Q4 |
THASouth-eastern Asia | 1,309,994 | 2022Q4 |
EGYNorthern Africa | 1,288,718 | 2022Q4 |
ISRWestern Asia | 1,262,782 | 2022Q4 |
CHEWestern Europe | 1,157,166 | 2022Q4 |
KENEastern Africa | 1,085,037 | 2022Q4 |
BELWestern Europe | 913,232 | 2022Q4 |
PRTSouthern Europe | 886,006 | 2022Q4 |
ROUEastern Europe | 876,845 | 2022Q4 |
ZAFSouthern Africa | 854,639 | 2022Q4 |
IRLNorthern Europe | 813,372 | 2022Q4 |
PERSouth America | 805,264 | 2022Q4 |
MYSSouth-eastern Asia | 778,233 | 2022Q4 |
BLREastern Europe | 774,983 | 2022Q4 |
DNKNorthern Europe | 750,368 | 2022Q4 |
CHLSouth America | 745,778 | 2022Q4 |
CZEEastern Europe | 743,303 | 2022Q4 |
FINNorthern Europe | 736,264 | 2022Q4 |
NORNorthern Europe | 672,240 | 2022Q4 |
AUTWestern Europe | 658,999 | 2022Q4 |
LKASouthern Asia | 645,128 | 2022Q4 |
IRNSouthern Asia | 626,977 | 2022Q4 |
NZLAustralia and New Zealand | 621,645 | 2022Q4 |
HUNEastern Europe | 600,277 | 2022Q4 |
MARNorthern Africa | 541,909 | 2022Q4 |
NPLSouthern Asia | 512,079 | 2022Q4 |
SAUWestern Asia | 506,508 | 2022Q4 |
BGREastern Europe | 493,382 | 2022Q4 |
AREWestern Asia | 493,370 | 2022Q4 |
GRCSouthern Europe | 476,923 | 2022Q4 |
TUNNorthern Africa | 460,362 | 2022Q4 |
SRBSouthern Europe | 426,393 | 2022Q4 |
KAZCentral Asia | 419,463 | 2022Q4 |
UZBCentral Asia | 394,147 | 2022Q4 |
ECUSouth America | 355,371 | 2022Q4 |
GEOWestern Asia | 303,955 | 2022Q4 |
GHAWestern Africa | 288,415 | 2022Q4 |
LTUNorthern Europe | 287,120 | 2022Q4 |
DZANorthern Africa | 258,639 | 2022Q4 |
ARMWestern Asia | 254,947 | 2022Q4 |
ESTNorthern Europe | 252,091 | 2022Q4 |
HRVSouthern Europe | 240,935 | 2022Q4 |
CRICentral America | 238,729 | 2022Q4 |
VENSouth America | 234,444 | 2022Q4 |
GTMCentral America | 222,591 | 2022Q4 |
SVKEastern Europe | 213,059 | 2022Q4 |
AZEWestern Asia | 205,345 | 2022Q4 |
KGZCentral Asia | 200,054 | 2022Q4 |
BOLSouth America | 190,767 | 2022Q4 |
DOMCaribbean | 186,767 | 2022Q4 |
ETHEastern Africa | 185,024 | 2022Q4 |
JORWestern Asia | 180,982 | 2022Q4 |
IRQWestern Asia | 180,747 | 2022Q4 |
LVANorthern Europe | 179,615 | 2022Q4 |
URYSouth America | 160,292 | 2022Q4 |
UGAEastern Africa | 154,667 | 2022Q4 |
SVNSouthern Europe | 146,711 | 2022Q4 |
KHMSouth-eastern Asia | 143,998 | 2022Q4 |
MMRSouth-eastern Asia | 142,555 | 2022Q4 |
SLVCentral America | 138,303 | 2022Q4 |
MDAEastern Europe | 135,960 | 2022Q4 |
PSEWestern Asia | 123,711 | 2022Q4 |
BIHSouthern Europe | 116,018 | 2022Q4 |
CMRMiddle Africa | 111,408 | 2022Q4 |
CYPWestern Asia | 107,869 | 2022Q4 |
LBNWestern Asia | 105,742 | 2022Q4 |
RWAEastern Africa | 97,821 | 2022Q4 |
HNDCentral America | 94,419 | 2022Q4 |
MKDSouthern Europe | 87,984 | 2022Q4 |
SENWestern Africa | 86,528 | 2022Q4 |
TZAEastern Africa | 80,995 | 2022Q4 |
LUXWestern Europe | 79,396 | 2022Q4 |
KWTWestern Asia | 74,374 | 2022Q4 |
ALBSouthern Europe | 73,311 | 2022Q4 |
ISLNorthern Europe | 68,277 | 2022Q4 |
CIVWestern Africa | 65,838 | 2022Q4 |
PANCentral America | 65,409 | 2022Q4 |
PRYSouth America | 64,814 | 2022Q4 |
YEMWestern Asia | 61,328 | 2022Q4 |
PRICaribbean | 58,715 | 2022Q4 |
ZWEEastern Africa | 58,350 | 2022Q4 |
NICCentral America | 57,757 | 2022Q4 |
QATWestern Asia | 57,459 | 2022Q4 |
MNGEastern Asia | 56,362 | 2022Q4 |
MDGEastern Africa | 53,623 | 2022Q4 |
JAMCaribbean | 52,990 | 2022Q4 |
MLTSouthern Europe | 46,268 | 2022Q4 |
MNESouthern Europe | 44,616 | 2022Q4 |
MUSEastern Africa | 43,454 | 2022Q4 |
AGOMiddle Africa | 40,985 | 2022Q4 |
SYRWestern Asia | 38,625 | 2022Q4 |
MACEastern Asia | 37,105 | 2022Q4 |
OMNWestern Asia | 36,505 | 2022Q4 |
SDNNorthern Africa | 36,180 | 2022Q4 |
BENWestern Africa | 35,628 | 2022Q4 |
ZMBEastern Africa | 34,649 | 2022Q4 |
CUBCaribbean | 34,272 | 2022Q4 |
BHRWestern Asia | 33,620 | 2022Q4 |
CODMiddle Africa | 33,507 | 2022Q4 |
MOZEastern Africa | 29,792 | 2022Q4 |
AFGSouthern Asia | 27,855 | 2022Q4 |
SOMEastern Africa | 25,855 | 2022Q4 |
TGOWestern Africa | 25,376 | 2022Q4 |
TTOCaribbean | 25,210 | 2022Q4 |
SYCEastern Africa | 24,797 | 2022Q4 |
LBYNorthern Africa | 23,810 | 2022Q4 |
HTICaribbean | 23,581 | 2022Q4 |
LAOSouth-eastern Asia | 22,206 | 2022Q4 |
TJKCentral Asia | 19,551 | 2022Q4 |
XKXSouthern Europe | 16,776 | 2022Q4 |
MWIEastern Africa | 15,977 | 2022Q4 |
BWASouthern Africa | 14,491 | 2022Q4 |
MDVSouthern Asia | 14,159 | 2022Q4 |
BFAWestern Africa | 12,908 | 2022Q4 |
NAMSouthern Africa | 12,415 | 2022Q4 |
MLIWestern Africa | 10,164 | 2022Q4 |
SLEWestern Africa | 9,666 | 2022Q4 |
BRBCaribbean | 9,417 | 2022Q4 |
BRNSouth-eastern Asia | 9,359 | 2022Q4 |
BTNSouthern Asia | 8,846 | 2022Q4 |
LBRWestern Africa | 8,537 | 2022Q4 |
ANDSouthern Europe | 7,384 | 2022Q4 |
MRTWestern Africa | 7,340 | 2022Q4 |
GMBWestern Africa | 6,937 | 2022Q4 |
CPVWestern Africa | 6,824 | 2022Q4 |
GABMiddle Africa | 6,642 | 2022Q4 |
NERWestern Africa | 6,507 | 2022Q4 |
BHSCaribbean | 6,319 | 2022Q4 |
BDIEastern Africa | 6,310 | 2022Q4 |
IMNNorthern Europe | 6,104 | 2022Q4 |
GINWestern Africa | 6,092 | 2022Q4 |
TKMCentral Asia | 5,838 | 2022Q4 |
BLZCentral America | 5,737 | 2022Q4 |
NCLMelanesia | 5,684 | 2022Q4 |
LSOSouthern Africa | 5,454 | 2022Q4 |
COGMiddle Africa | 4,836 | 2022Q4 |
PYFPolynesia | 4,790 | 2022Q4 |
GUYSouth America | 4,430 | 2022Q4 |
CYMCaribbean | 4,393 | 2022Q4 |
PNGMelanesia | 4,213 | 2022Q4 |
SURSouth America | 4,176 | 2022Q4 |
CUWCaribbean | 4,067 | 2022Q4 |
FJIMelanesia | 3,888 | 2022Q4 |
SWZSouthern Africa | 3,812 | 2022Q4 |
BMUNorthern America | 3,657 | 2022Q4 |
GUMMicronesia | 3,500 | 2022Q4 |
LCACaribbean | 2,737 | 2022Q4 |
MCOWestern Europe | 2,686 | 2022Q4 |
GIBSouthern Europe | 2,555 | 2022Q4 |
TCDMiddle Africa | 2,516 | 2022Q4 |
FRONorthern Europe | 2,484 | 2022Q4 |
DJIEastern Africa | 2,455 | 2022Q4 |
LIEWestern Europe | 2,205 | 2022Q4 |
ABWCaribbean | 2,072 | 2022Q4 |
SSDEastern Africa | 2,065 | 2022Q4 |
VIRCaribbean | 2,009 | 2022Q4 |
ATGCaribbean | 1,900 | 2022Q4 |
GRDCaribbean | 1,889 | 2022Q4 |
KNACaribbean | 1,797 | 2022Q4 |
ERIEastern Africa | 1,771 | 2022Q4 |
TLSSouth-eastern Asia | 1,718 | 2022Q4 |
SMRSouthern Europe | 1,714 | 2022Q4 |
VCTCaribbean | 1,065 | 2022Q4 |
MNPMicronesia | 1,025 | 2022Q4 |
SLBMelanesia | 1,017 | 2022Q4 |
COMEastern Africa | 928 | 2022Q4 |
DMACaribbean | 911 | 2022Q4 |
VGBCaribbean | 854 | 2022Q4 |
GRLNorthern America | 732 | 2022Q4 |
TCACaribbean | 694 | 2022Q4 |
GNQMiddle Africa | 650 | 2022Q4 |
VUTMelanesia | 590 | 2022Q4 |
SXMCaribbean | 504 | 2022Q4 |
STPMiddle Africa | 480 | 2022Q4 |
MAFCaribbean | 438 | 2022Q4 |
WSMPolynesia | 398 | 2022Q4 |
CAFMiddle Africa | 326 | 2022Q4 |
PLWMicronesia | 203 | 2022Q4 |
AIACaribbean | 188 | 2022Q4 |
GNBWestern Africa | 185 | 2022Q4 |
FSMMicronesia | 172 | 2022Q4 |
TONPolynesia | 154 | 2022Q4 |
ASMPolynesia | 137 | 2022Q4 |
MSRCaribbean | 111 | 2022Q4 |
02In 2022
At either end
The 5 countries at each end of the headline.
Highest
United States50,597,871
India27,457,938
China20,682,299
Brazil9,205,113
Hong Kong8,023,750
Lowest
Montserrat111
American Samoa137
Tonga154
Micronesia172
Guinea-Bissau185
Neither end is better. The values describe a shape, not a score. The middle country reads 65,112. “Shared” marks a value another country also holds.
032021 → 2022
Since 2021
- +2 / −1countries joined / left
- 212values changed, of 212 in both
- 207 · 5rose · fell
- 0unchanged
Rose most
United States42,333,711 → 50,597,871+8,264,160
India19,972,109 → 27,457,938+7,485,829
Hong Kong5,021,657 → 8,023,750+3,002,093
Brazil6,636,791 → 9,205,113+2,568,322
Japan4,661,835 → 6,000,052+1,338,217
Fell most
China22,678,026 → 20,682,299−1,995,727
Eritrea2,359 → 1,771−588
Anguilla313 → 188−125
Turks and Caicos Islands752 → 694−58
Guam3,546 → 3,500−46
Changes in value, not in places: a country’s place also moves when others do.
04Caveats
Read before you use
Nothing missing
Every one of the 214 countries has every column.
05The files
Download and cite
- .csv
For a spreadsheet or code
214 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-2022-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 (2022). GitHub Repositories, 2022 [data set], describing 2022. As held by Nations Inquiry, https://nationsinquiry.com/datasets/github-repositories/2022
067 held
Other years
‹ The year before
GitHub Repositories, 2021213 countries
The year after ›
GitHub Repositories, 2023215 countries
All of them
GitHub Repositories: every year7 held, with the data dictionary, coverage and licence.
How it has moved, charted by country