git-protection

Description: Spawn a new program with .git mounted as read-only
Status: Complete
Source: https://git.maandree.se/git-protection
Latest release: 1.0
License: ISC License (Internet Systems Consortium license)
Written in: C (ISO C99)

git-protection runs a specified utility, but makes the .git directory a read-only mountpoint the specified utility, is stops agentic aritifical intelligence tools from making destructive changes to anything stored in in the git repo you are inside.