git-crypt
« Back to VersTracker
Description:
Enable transparent encryption/decryption of files in a git repo
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: encryption git security secrets developer-tools
Install: brew install git-crypt
About:
Git-crypt is a tool that enables transparent encryption and decryption of files in a Git repository. When you add, commit, and check out files, git-crypt automatically handles the encryption and decryption, allowing you to work with your encrypted data as if it were plain text. This provides a seamless way to store sensitive information like API keys or configuration secrets directly alongside your code without exposing them.
Key Features:
  • Transparent encryption/decryption of tracked files
  • Symmetric key encryption with GPG for key management
  • Seamless integration with standard Git commands
  • Selective file encryption via .gitattributes
Use Cases:
  • Storing API keys and credentials in private repositories
  • Sharing encrypted configuration files within development teams
  • Protecting sensitive data in otherwise public repositories
Alternatives:
  • git-secret – Similar functionality using GPG, but with different workflow for key management
  • Blackbox – Ansible's secret management system, more focused on keyserver-based workflows
  • SOPS – Editor for encrypted files with support for multiple cloud KMS providers
Version History
Detected Version Rev Change Commit
Sep 25, 2025 5:49pm 0 VERSION_BUMP 216cb409
Sep 25, 2025 4:40pm 0 VERSION_BUMP eb24dce2
Sep 12, 2025 9:14am 1 VERSION_BUMP 24ae3deb