GitLab
GitLab logoGitLab · Feature trail

Large Binary Versioning

12 posts · Feb 2015 – Aug 2026

What this trail covers

GitLab now supports Git LFS for versioning large binary files, building upon previous support for Git Annex. The implementation is based on a forked and adapted Git LFS reference server. This post details a tool, 'Git Much Faster,' that benchmarks and optimizes Git clone operations for large repositories, achieving significant reductions in clone times (up to 93%) and disk space usage (up to 98%) through techniques like disabling compression, increasing HTTP post buffers, shallow clones, partial clones with blob filtering, and sparse checkout. It also compares these custom optimizations against Git's Scalar tool, demonstrating superior performance. The optimizations reduce load on the end-to-end stack, including Gitaly Cluster. Use cases span embedded development, enterprise monorepos, media-heavy projects, and CI/CD pipelines. The tool provides Terraform infrastructure for AWS deployment for production-grade testing.

All GitLab trails