# How to check GitHub organization size

> How to check GitHub organization size: the docs show no single org view, so admins sum each repository's size field. What GitHub says on units and limits.

By Matt Burns, Vaultfish. Canonical: https://vaultfish.com/answers/how-to-check-github-organization-size  
Published: 2026-07-22  
Updated: 2026-10-14

## The short answer

GitHub has no single organization-size view, so add up repositories. The REST API lists an organization's repositories with a size field for each. The docs do not state the unit. Test against a repository you can measure by cloning before you add figures. GitHub recommends repositories under 5 GB.

David Revland, who works on human data at [micro1](/buyers/micro1), said in an undated recorded forum talk that its form asks for a rough size per tool (self-reported), so a rough figure is the goal.

## What does GitHub publish about size?

[GitHub's page on large files](https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github) says repositories should ideally be under 1 GB, and under 5 GB is strongly recommended. Git warns on files over 50 MiB, and GitHub blocks files over 100 MiB. Large files should move to Git LFS. The page points to the open-source git-sizer tool for analyzing repository structure.

## How do you total an organization?

The [REST reference](https://docs.github.com/en/rest/repos/repos#list-organization-repositories) has a "List organization repositories" endpoint, `GET /orgs/{org}/repos`, with `per_page` up to 100 and a `page` parameter. The response includes an integer `size` for each repository.

The reference gives no description or unit for `size`. Add the figures only after you check one against a repository you can measure by cloning it. We also did not confirm whether LFS data is counted.

## Does micro1 ask for the organization size?

micro1's David Revland said in the same undated forum talk that its data manifest form asks which services a company uses and a rough size for each, and GitHub is on that list (self-reported, recording undated).

The micro1 pages I read do not name GitHub and set no figure for code. See [micro1 GitHub data](/answers/micro1-github-data).

By bytes, code adds little to a 1 TB corpus. By content, history shows how people worked. Our [GitHub licensing page](/answers/sell-github-data-to-ai) covers who has bought code, and [can I license source code to AI](/answers/can-i-sell-source-code-to-ai) covers licenses, client-owned code and export controls.

## What about GitLab?

GitLab shows storage in its own Usage quotas page. See [licensing GitLab repos to AI](/answers/sell-gitlab-repos-to-ai).

Run the [rights check](/rights-check) before size. Talk to a privacy or commercial lawyer in your state before you sign.

micro1 may pay us a referral fee if a company we introduce goes ahead with it. [How we are paid](https://vaultfish.com/disclosure)

Figure: steps List the org's repositories -> Read each size field, add up -> Test against a known repository. A GitHub organization's rough size is the sum of its repositories' size fields, tested against one you can measure.

[Apply to micro1's data partnership (paid link)](https://req.micro1.ai/post/74520e8b-4673-4da5-b855-53609aaf6710?referralCode=f82e519e-5d64-4e0e-9574-760c84371cf2&utm_source=referral&utm_medium=share&utm_campaign=data_referral) · [micro1's own data-partnerships page](https://www.micro1.ai/data-partnerships)

_Paid link. [How we are paid](https://vaultfish.com/disclosure)_

_Vaultfish helps you run the process. We are not lawyers and this is not legal advice. If you need counsel who knows this area, we can point you to one._

## Sources

- [GitHub's page on large files](https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github)
- [REST reference](https://docs.github.com/en/rest/repos/repos)
