Yes there is. Just check here: https://github.com/settings/repositories .
If it's a personal account you can access repository under settings. Here: https://github.com/settings/repositories
As already mentioned, you can review the space used by individual repos at https://github.com/settings/repositories.
To check the storage space for other space-limited Github features such as Actions/Packages/Codespaces/LFS data go to the billing section. Once there, find the 'Usage this month' section that's down near the bottom of the page. It will show you the current usage for these other items and how close you are to exceeding your limits.
How do I check the storage usage for each repository?
Remaining space
git - How can I see the size of a GitHub repository before cloning it? - Stack Overflow
Is there a way I can check what repo uses so much? We're at the beginning of the month..
Videos
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.
If you own the repository, you can find the exact size by opening your Account Settings → Repositories (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.
Help me. I just created a sample codespace on my readme to test the feature. I just made the codespace but never used it but today i got an email saying that I've used up 11gb of my storage. How did this happen and how do I disable it
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...
