Discussions

How do I check the storage usage for each repository?
When I push, I received "This repository is over its data quota." I checked Github under setting/billing and it says 5+GB lfs storage was used in total. So I intended to delete some of th... More on github.com
🌐 github.com
3
June 11, 2019
Remaining space
Hello, I would like to know where I can check my personal space to see how much free space I have left. Where can I see this information? Beta Was this translation helpful? Give feedback. ... You can check your personal storage space by visiting your GitHub billing settings: https://github... More on github.com
🌐 github.com
3
1
July 25, 2025
git - How can I see the size of a GitHub repository before cloning it? - Stack Overflow
Is there a way to see how big a Git repository is on GitHub before you decide to clone it? This seems like a really obvious/basic statistic, but I can't find how to see it on GitHub at all. More on stackoverflow.com
🌐 stackoverflow.com
Is there a way I can check what repo uses so much? We're at the beginning of the month..
If you scroll up to the headline "Usage this month" there is a button "Get usage report" where you can download a csv report which includes all usage. The "Data Transfer" entries should tell you where the data was coming from. (edit: actually not sure on that one... Oo but that's all the information there is ) More on reddit.com
🌐 r/github
6
1
July 5, 2024
🌐
GitHub
github.com › git-lfs › git-lfs › issues › 3681
How do I check the storage usage for each repository? · Issue #3681 · git-lfs/git-lfs
June 11, 2019 - You switched accounts on another tab or window. Reload to refresh your session. ... There was an error while loading. Please reload this page. ... When I push, I received "This repository is over its data quota." I checked Github under setting/billing and it says 5+GB lfs storage was used in total.
Author   git-lfs
🌐
GitHub
docs.github.com › en › codespaces › troubleshooting › troubleshooting-included-usage
Getting the most out of your included usage - GitHub Docs
Although prebuilds are not listed on the "Your codespaces" page, prebuilds created for a repository consume storage even if you do not currently have any codespaces for that repository. To avoid this, you can delete the prebuilds configurations you set up. See About GitHub Codespaces prebuilds and Managing prebuilds. You can check the cumulative GitHub Codespaces usage for your current monthly billing cycle in your GitHub settings.
🌐
GitHub
github.blog › home › news & insights › the library › check your usage
Check Your Usage - The GitHub Blog
January 4, 2019 - Hey, wondering how much disk space you’re using? Check your account page to find out. Usage is updated every time you push. As for me, I’ve got around 30 repositories…
Find elsewhere
Top answer
1 of 16
478

There's a way to access this information through the GitHub API.

  • Syntax: GET /repos/:user/:repo
  • Example: https://api.github.com/repos/git/git

When retrieving information about a repository, a property named size is valued with the size of the whole repository (including all of its history), in kilobytes.

For instance, the Git repository weights around 124 MB. The size property of the returned JSON payload is valued to 124283.

Update

The size is indeed expressed in kilobytes based on the disk usage of the server-side bare repository. However, in order to avoid wasting too much space with repositories with a large network, GitHub relies on Git Alternates. In this configuration, calculating the disk usage against the bare repository doesn't account for the shared object store and thus returns an "incomplete" value through the API call.

This information has been given by GitHub support.

2 of 16
296

If you own the repository, you can find the exact size by opening your Account SettingsRepositories (https://github.com/settings/repositories), and the repository size is displayed next to its designation.

If you do not own the repository, you can fork it and then check the in the same place.

Note: You might be the owner of the organization that hosts multiple repositories and yet not have a role in a specific repository inside the organization. By default, even if you create a repository in the organization you own, you are not added to the repo and hence not see that repo in settings/repositories. So add yourself in the repository Setting(https://github.com/org-name/repo-name/settings) to see it in https://github.com/settings/repositories

Somewhat hacky: use the download as a zip file option, read the file size indicated and then cancel it.

I do not remember if downloading as a zip ever worked, but in any case, doing so now only downloads the currently selected branch with no history.

🌐
Reddit
reddit.com › r/github › is there a way i can check what repo uses so much? we're at the beginning of the month..
r/github on Reddit: Is there a way I can check what repo uses so much? We're at the beginning of the month..
July 5, 2024 - https://github.com/tkbstudios/filox-cli/blob/master/.github/workflows/rust-ci.yml ... You can go through your workflow history and delete workflows, that'll eventually free up some space. Also check workflow retention, if you don't need to keep ...
🌐
GitHub
github.com › orgs › community › discussions › 37281
How do I figure out what's eating up my GitHub Actions shared storage? · community · Discussion #37281
To get started, introduce yourself in our official introduction thread To connect with other new users, check out this Discussion to Meet Your GitHub Community Team, further your GitHub knowledge by working through our GitHub Skill 🆙 exercises, and participate in our weekly Fun Friday chats · Beta Was this translation helpful? Give feedback. ... There was an error while loading. Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... List Artifacts API. This can get you artifacts which take most amount of storage, which are not getting expired, etc.
🌐
Reddit
reddit.com › r/github › how do i see my total usage of, and manage, my gitlfs storage.
r/github on Reddit: How do I see my total usage of, and manage, my GitLFS storage.
May 22, 2025 - I can't for the life of me find where on Github I can see: A) my subscription they are charging me for LFS storage. B) how much of that storage I am using. It has usage rates, but that's not what I'm paying for. At this time I don't want to, but what if I wanted to cancel that subscription, I can't find it!
🌐
Elio Struyf
eliostruyf.com › monitor-github-actions-storage-usage-script
Monitor your GitHub Actions storage usage with a script | Elio Struyf
April 24, 2025 - To address this, I created a script that calculates the total storage used by artifacts and caches for all repositories under a given owner/organization. ... Artifacts: 500 MB (free tier), 1GB (pro tier), 50GB (enterprise tier). ... For more detailed information about storage and billing for GitHub Actions, refer to the official documentation: About billing for GitHub Actions.
🌐
GitProtect.io
gitprotect.io › strona główna › github storage limits
GitHub Storage Limits - Blog | GitProtect.io
January 27, 2025 - With enterprises, click on your profile picture, and then ‘Your enterprises’. You will see the list of enterprises, and you need to select the one you want to check the storage information for. In the enterprise account sidebar, located on the left side of the page, click on ‘Settings’. There click ‘Billing’ and go down to the ‘Git LFS’ section. The maximum number of files in your GitHub repository has no actual established limit.
🌐
Devgex
devgex.com › en › article › 00021091
How to Check GitHub Repository Size Before Cloning: API Methods and Technical Analysis - DevGex
November 23, 2025 - The specific path is: Account Settings → Repositories (https://github.com/settings/repositories). This method provides intuitive interface display but is limited to users with access permissions.
🌐
GitHub
docs.github.com › en › billing › managing-billing-for-github-codespaces › viewing-your-github-codespaces-usage
Viewing your usage of metered products and licenses - GitHub Docs
Use the tabbed view to see a summary of consumed use for each product that you use (in this example, the "Advanced Security" tab is shown).
🌐
Webtoolsonline
webtoolsonline.org › tools › github-repo-size
GitHub Repository Size Checker - Check Repo Size Instantly | Free Tool | WebToolsOnline
Check the size of any GitHub repository instantly without cloning. View total size, language breakdown, stars, forks, and more.
🌐
Reddit
reddit.com › r/github › how do i tell how big my repos are on github?
r/github on Reddit: How do I tell how big my repos are on GitHub?
March 25, 2021 -

New to using git and my last push took way too long. I'm thinking my .gitignore isn't setup properly so I'm trying to figure out how big my repo is vs. my local folder.

I feel dumb asking this but where on github can I see the size of my repos? There has to be a size property somewhere but I feel like I've looked everywhere and just can't find it...