Every government GitHub organization on the official
governments.yml list, counted: what they publish, what is still
maintained, and how much of it anyone outside government has actually contributed to.
Measured11 August 2026
Sourcegithub/government.github.com, gh-pages
MethodGitHub REST + GraphQL, full enumeration
Window12 months to 11 Aug 2026
1,079
government organizations listed, across 77 country and level groups
75,638
public repositories they hold between them
29.5%
of those repos received a single push in the last 12 months
924
estimated outside contributors to U.S. government code in 12 months, after staff screening
What this counts
1,079 organizations
The list at government.github.com is the closest thing that
exists to an official register of government open source. It is maintained by GitHub,
and governments add themselves to it. This analysis enumerates all 1,079 organization
handles on it, then every public repository each one owns, then the merge history of
every repository that is still alive.
Two facts about the list shape everything that follows. First, it is
opt-in. No government appears on it that did not choose to. Whatever
these numbers show is therefore a best case, not a representative sample of government
technology. Second, it is well maintained: only 2 of the 1,079 handles
no longer resolve, so the picture below is not an artifact of link rot.
The scale
n = 75,638 repositories
Between them these organizations hold 75,638 public repositories. The distribution is
extremely uneven: the median organization has 15 repos, while the largest single one,
Norway's labour and welfare agency navikt, has 3,098. Fifty-five
listed organizations have none at all.
The United Kingdom, with 212 organizations, publishes more public code than the
United States does with 332.
Bloc
Orgs
Public repos
Active
Active rate
Repos w/ outside PR
United States
332
17,114
3,419
20.0%
615
United Kingdom
212
24,314
8,484
34.9%
1,726
Other national
509
30,497
9,235
30.3%
1,482
Multilateral (UN, EU, other)
26
3,713
1,199
32.3%
142
Total
1,079
75,638
22,337
29.5%
3,965
Share of each bloc's public repositories that received a push in the
last 12 months. The United States is the least active major bloc on the list, at
20.0% against the United Kingdom's 34.9%. Base: all 75,638 public repos.
Most of it is not alive
n = 75,638 repositories
Publishing a repository and maintaining one are different acts. Filtering the 75,638
repos down to those a person could actually work on removes roughly four out of five.
Forks account for 8,670. A further 875 are empty. The largest single deduction is
archiving: 22,082 repositories, 29.2% of everything on the list, are already
archived, which on GitHub means read-only by explicit choice. What remains
after requiring a push inside 12 months is 22,337 repos, and requiring that issues are
open and a license is present leaves 15,577.
Attrition from all public repositories to those a contributor could
realistically act on. Each stage is a strict subset of the one above it.
Percentages are of all 75,638 public repos.
The licensing gap
Only 20.6% of government public repositories are simultaneously alive, accepting
issues, and carrying a license. A repository without a license is not open source in
any legal sense: default copyright applies, and a contributor has no clear right to
use or modify the code they are being invited to improve.
How much of it takes outside contributions
n = 22,337 active repositories
The sharpest test is not whether a repository is public but whether anyone outside
the organization has successfully changed it. For all 22,337 living repositories this
study read the 15 most recently updated merged pull requests and classified each
author by their relationship to the organization.
Most living government repos do merge pull requests: 70.8% merged at least one in
the last 12 months. But the overwhelming majority of that traffic is internal.
Contribution activity among the 22,337 repositories pushed in the last
12 months. "Non-member" means GitHub reported the PR author as something other than
owner, member, or collaborator. Percentages are of the 22,337 active repos.
Why the raw number overstates openness
GitHub organization membership can be private. When it is, a staff engineer's pull
request is reported with exactly the same author association as a stranger's. Spot
checking confirmed this: on alphagov/govuk-frontend, several of
the accounts labelled as outside contributors are GOV.UK Design System developers.
So the raw 53.6% figure is an upper bound, not an estimate. To get a
floor, this study excluded any "outside" author who had merged pull requests into three
or more separate repositories belonging to the same organization, a pattern that
describes staff rather than a passing contributor. That cuts the figure to 17.8% of
living repos, or 5.2% of all government public repositories.
Because the threshold is a judgement call, here is the full sensitivity range rather
than a single number.
Staff filter
Repos
% of all repos
% of active repos
Distinct contributors
No filter (raw)
11,982
15.8%
53.6%
7,715
Author in 8+ org repos
7,562
10.0%
33.9%
6,832
Author in 5+ org repos
5,859
7.7%
26.2%
6,172
Author in 4+ org repos
4,992
6.6%
22.3%
5,725
Author in 3+ org repos
3,965
5.2%
17.8%
5,093
Author in 2+ org repos
2,574
3.4%
11.5%
3,868
Share of all 75,638 public repositories showing an outside contribution,
at each staff-exclusion threshold. The defensible claim is a range: at most 15.8%,
and realistically nearer 5%. Every threshold in between is shown so the reader can pick
their own.
Where it is thinnest
n = 17,114 U.S. repositories
Inside the United States the pattern runs against intuition. Federal agencies, which
are furthest from the public, publish the most code by a wide margin and are the most
open to outside contribution. The layers of government closest to residents, cities and
counties, are the least active on both measures.
All 53 U.S. state-level organizations combined publish 1,256 public repositories.
The United Kingdom's tax agency alone publishes 1,792.
U.S. category
Orgs
Public repos
Active
Active rate
Repos w/ outside PR
Federal
164
10,833
2,278
21.0%
480
Special District
10
884
243
27.5%
7
States
53
1,256
293
23.3%
36
Military and Intelligence
17
869
175
20.1%
26
City
66
2,773
371
13.4%
57
County
18
484
56
11.6%
8
Tribal Nations
3
10
2
20.0%
0
Local Law Enforcement
1
5
1
20.0%
1
U.S. total
332
17,114
3,419
20.0%
615
Share of each U.S. category's public repositories pushed in the last 12
months. Categories with fewer than 100 repos (Tribal Nations, Local Law Enforcement)
are omitted from the chart as too small to plot, but appear in the table above.
Who does manage it
12-month window
Outside contribution is not evenly spread. It concentrates in a small number of
organizations that have built the habit deliberately, and they are disproportionately
British and Nordic. The U.K. Ministry of Justice alone attracted more distinct outside
contributors in a year than every U.S. state, city and county organization combined.
NASA is the strongest performer in the United States by a wide margin, with more than
twice the outside contributors of the next American organization.
United StatesUnited KingdomOther national
Distinct outside contributor accounts per organization, 12 months, after
staff exclusion. Bar color encodes bloc, and each label is suffixed with it
(US, UK, Intl) so identity never rests on color alone. Bot accounts are excluded
throughout.
Country
Orgs
Public repos
Active
Active rate
Repos w/ outside PR
United Kingdom
212
24,314
8,484
34.9%
1,726
Canada
58
5,352
1,723
32.2%
282
Norway
31
5,255
2,172
41.3%
363
France
45
3,255
963
29.6%
197
Sweden
44
2,156
655
30.4%
51
Australia
44
1,962
361
18.4%
62
Finland
16
1,763
585
33.2%
104
Netherlands
19
1,533
474
30.9%
72
Brazil
37
1,401
318
22.7%
60
Germany
26
1,235
518
41.9%
86
Spain
20
968
252
26.0%
9
Switzerland
21
527
167
31.7%
30
Italy
7
445
130
29.2%
11
New Zealand
12
414
95
22.9%
23
Japan
4
128
6
4.7%
0
Method and limits
read this before quoting
Enumeration, not sampling. All 1,079 handles were resolved against the GitHub
REST API, and all 75,638 public repositories were read through the GraphQL API. Nothing
here is extrapolated.
Alive means pushed within 12 months. A single commit qualifies, which is a
generous definition and makes the activity figures optimistic.
Outside contribution is measured from the 15 most recently updated merged pull
requests per repository. A repository whose recent merges are all internal, but
which accepted an outside patch earlier in the window, can be missed. This biases the
count downward on very high-traffic repos.
Private organization membership is the main source of error, and it inflates
apparent openness. The staff-exclusion filter is a heuristic correction, not a
measurement, which is why the sensitivity range is published alongside it.
Contractors cut the other way. Vendor staff are often added as collaborators
and are therefore counted as internal, even though their work is not done by the
government itself.
The list is opt-in. Every figure here describes governments that chose to be
listed as open source participants. The population that did not appear is not measured
and is unlikely to be doing better.