Quick summary of the tool
git-sizer is a lightweight command-line utility that inspects a local Git repository and reports on its size characteristics. It scans the history and object storage to reveal areas that contribute most to repository bloat, helping you spot trouble early.
Why repository size matters
Large repositories can slow common Git operations, increase clone times, and complicate backups. By understanding which commits, files, or objects are unusually large, teams can prioritize cleanup actions and keep workflows responsive.
Key capabilities
- Highlights the largest contributors to repository growth (big files, huge commits, or excessive numbers of objects).
- Produces concise metrics that make it easier to decide whether to prune history, split repositories, or remove binaries.
- Generates reports that point out patterns likely to cause future performance problems.
Supported platforms and cost
git-sizer runs on Windows and other platforms and is freely available, so teams can adopt it without licensing barriers.
How it benefits teams
- Helps maintain long-term repository health by surfacing problematic history and artifacts.
- Makes it simpler for maintainers to take corrective steps before performance degrades.
An alternative option to consider
AllDup (Free) is a Windows utility that can help find duplicate files on disk; while it isn’t a Git-specific analyzer, it may be useful for locating and removing repeated large files prior to committing them or when cleaning working directories.
Technical
- Windows
- Free