awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Git History Cleanup Tools

Ranking updated Jun 30, 2026

For a tool for cleaning large files out of git history, the first results are rtyley/bfg-repo-cleaner (BFG Repo-Cleaner is a specialized, high-performance Git history cleaner that removes large files by size or pattern, strips sensitive data, and preserves commit structure and tag references, making it a direct and comprehensive answer to your search), newren/git-filter-repo and tj/git-extras. git-lfs/git-lfs and gitextensions/gitextensions round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Utilities for identifying and permanently removing large binary files from your Git repository history.

Git History Cleanup Tools

Find the best repos with AI.We'll search the best matching repositories with AI.
  • rtyley/bfg-repo-cleanerrtyley avatar

    rtyley/bfg-repo-cleaner

    12,201View on GitHub↗

    BFG Repo-Cleaner is a Git history cleaner and repository optimizer designed to permanently remove large files and sensitive data from a project's entire commit history. It functions as a specialized purger to delete passwords and private credentials across all commits to prevent security leaks. This tool is implemented in Scala to provide high-performance processing for repository cleaning logic. It distinguishes itself by incorporating a safety mechanism that preserves the state of the latest commit, ensuring that historical cleaning does not break the current production code. The project c

    BFG Repo-Cleaner is a specialized, high-performance Git history cleaner that removes large files by size or pattern, strips sensitive data, and preserves commit structure and tag references, making it a direct and comprehensive answer to your search.

    ScalaSensitive Data PurgingGit History CleanersGit History Cleaners
    View on GitHub↗12,201
  • newren/git-filter-reponewren avatar

    newren/git-filter-repo

    13,493View on GitHub↗

    Git-filter-repo is a command-line utility designed for the permanent modification and restructuring of Git repository history. It functions as a maintenance tool for cleaning project data, enabling users to reorganize file structures, update commit metadata, and purge sensitive information such as credentials or large blobs from the entire commit graph. The tool distinguishes itself by interacting directly with the internal Git object database rather than relying on standard command-line interfaces. It utilizes the native fast-import stream protocol and processes commits as a continuous data

    git-filter-repo is a dedicated command-line tool that efficiently removes large files and sensitive data from Git history by directly operating on the object database, preserving tags, branches, and commit structure, and supporting dry-run mode — exactly matching every requested feature.

    PythonGit History CleanersHistory Rewriting
    View on GitHub↗13,493
  • tj/git-extrastj avatar

    tj/git-extras

    18,125View on GitHub↗

    git-extras is a collection of command line utilities that extend the functionality of the Git version control system. It provides a suite of shortcuts and additional commands for history manipulation, remote management, repository analysis, and workflow automation. The project distinguishes itself by offering deep integration with hosting providers to manage pull requests and forks, alongside advanced history tools for obliterating sensitive files and rewriting author metadata. It also includes a specialized interactive shell that allows users to execute commands without repeating the binary

    git-extras is a collection of Git command extensions that includes history‑rewriting utilities for obliterating files from commits, directly addressing the request to clean repository history; while it does not explicitly feature size‑threshold removal, it can remove files by pattern and preserve commit structure, making it a valid tool for this task.

    ShellGit History CleanersBranch Management Utilities
    View on GitHub↗18,125
  • git-lfs/git-lfsgit-lfs avatar

    git-lfs/git-lfs

    14,336View on GitHub↗

    Git Large File Storage is a Git extension that replaces large binary assets with lightweight pointers to keep repository history fast and lean. It functions as a remote binary asset store, hosting large files on a separate server instead of storing them directly in the Git history. The system includes a binary file locking mechanism to prevent concurrent edits on large assets, ensuring only one user can modify a file at a time. It also provides a virtual file system mount to expose large assets as a local filesystem without requiring a full manual checkout, and a history migration tool to con

    Git LFS replaces large files with pointers and stores them externally, but it doesn't rewrite history to remove files—it keeps pointers in the commit history, so it's not a history-cleaning tool itself.

    GoGit History CleanersHistory Rewriting
    View on GitHub↗14,336
  • gitextensions/gitextensionsgitextensions avatar

    gitextensions/gitextensions

    8,361View on GitHub↗

    GitExtensions is a graphical user interface client for managing Git repositories. It provides a suite of visual tools for browsing commit logs, staging changes, and tracking file evolution across a project's history. The project features a commit visualizer that maps branch and merge relationships via a graphical map and a dedicated history manager for performing interactive rebases and squashing commits. It includes a visual merge conflict resolver to identify and fix overlapping code changes during merges or history rewrites. The software covers broad version control capabilities, includin

    GitExtensions is a graphical Git client with history-rewriting features like interactive rebase, but it is not a dedicated tool for removing large files from history—for that, a specialized cleaner would be more appropriate.

    C#Branch and Tag ManagementHistory Rewriting
    View on GitHub↗8,361
  • src-d/go-gitsrc-d avatar

    src-d/go-git

    4,880View on GitHub↗

    This project is a native implementation of the Git version control system for Go applications. It provides a programmable API and a low-level plumbing toolset that allows developers to manage repositories, manipulate object graphs, and perform version control operations without requiring external system binaries or C bindings. The library is distinguished by its flexible storage and network layers, featuring a virtual file system that enables in-memory repository management to bypass disk I/O. It supports pluggable network transports and interface-based storage backends, allowing for custom p

    go-git is a programmable Git implementation for Go, not a dedicated tool for rewriting history to remove large files — it provides the building blocks to create such a tool, but does not offer the size-threshold, pattern, or interactive dry-run features needed out of the box.

    GoBranch and Tag Management
    View on GitHub↗4,880
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
rtyley/bfg-repo-cleaner12.2KScalaGPL-3.0Jan 19, 2025
newren/git-filter-repo13.5KPythonNOASSERTIONJul 9, 2026
tj/git-extras
18.1K
Shell
MIT
Oct 8, 2026
git-lfs/git-lfs14.3KGoNOASSERTIONJun 12, 2026
gitextensions/gitextensions8.4KC#otherFeb 20, 2026
src-d/go-git4.9KGoApache-2.0Apr 10, 2022

Related searches

  • a project for learning Git by reimplementing it
  • a terminal UI for staging and committing with git
  • a GUI client for browsing and managing git repositories
  • a toolkit for dataset cleaning and curation
  • a tool for shrinking container image size
  • an open source system cleaner for Windows
  • a tool for versioning and managing prompts
  • a beginner guide to contributing to open source