git-sizer
A command-line tool that measures the size of a Git repository and flags metrics that may cause problems.
2 more ways to get git-sizer
Chocolatey
choco install git-sizerHomebrew
brew install git-sizer
Alternatives
About git-sizer
git-sizer computes a range of size metrics for a Git repository and highlights the ones large enough to cause problems. It is useful before migrating a repository to a hosting service, when a clone has become slow, or when deciding whether history needs cleaning up.
It is a small Go program run from the terminal inside a repository. GitHub maintains it, and the repository was updated in September 2026.
Strengths
- Flags size metrics that are likely to cause trouble
- Single command, no setup inside the repository
- Maintained by GitHub with recent activity
Limitations
- Reports problems but does not fix them
- Command-line only, no graphical output
Details
- Pricing
- FreeFree and open source under the MIT licence.
- License
- MIT
- Developer
- GitHub
- Platforms
- Windows, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Developers checking whether a large Git repository needs cleanup
- Categories
- CLI tools, Git clients, Developer tools
- Last verified
- Added
- Sources