Reproduce “Altered Histories in Version Control System Repositories: Evidence from the Trenches” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Solal Rapaport, Laurent Pautet, Samuel Tardieu, Stefano Zacchiroli

Researchers from Télécom Paris conducted the first large-scale empirical analysis of history alterations in public Git repositories, revealing 12.5 billion alterations across 1.22 million projects, including significant rewrites on main branches and in popular codebases. The study characterized alteration types and highlighted concerns for secrets suppression and retroactive license changes, providing the GITHISTORIAN tool for detection.

Key insights

  • The assumption of immutability in public Git repository histories is not upheld, as alterations are pervasive, occurring even on stable main branches and in highly popular projects.
  • Attempting to remove sensitive information like secrets via history rewriting is only a partial solution, as the "deleted" content often remains discoverable in archival systems like Software Heritage.
  • Automated development tools and routine maintenance activities are major contributors to history alterations, leading to a normalization of rewrites in contexts where they may be problematic.
  • Retroactive changes to software licenses through history alteration introduce significant legal instability and can undermine the perpetual rights granted by open-source licenses.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.