macOS
brew install git-secretlocal Homebrew formula metadata
sudo port install git-secretMacPorts ports tree · devel/git-secret/Portfile · source: api.github.com
brew
Bash-tool to store the private data inside a git repo. Version 0.5.0 via Homebrew; verified 2026-06-22.
install
brew install git-secretlocal Homebrew formula metadata
sudo port install git-secretMacPorts ports tree · devel/git-secret/Portfile · source: api.github.com
sudo apk add git-secretAlpine Linux edge package indexes · git-secret · source: dl-cdn.alpinelinux.org
sudo apt install git-secretDebian stable package indexes · git-secret · source: deb.debian.org
sudo dnf install git-secretFedora Rawhide package metadata · git-secret · source: dl.fedoraproject.org
nix profile install nixpkgs#git-secretnixpkgs package indexes · pkgs/by-name/gi/git-secret/package.nix · source: api.github.com
overview
Bash-tool to store the private data inside a git repo
history
git-secret is a Bash and GPG tool for storing encrypted private files inside a Git repository. It targets the deployment and configuration problem of keeping secrets versioned with code without committing plaintext values.
The GitHub repository was created in 2016 by the sobolevn project, and the documentation frames the tool around GPG public-key access control. The command set grew around `init`, `tell`, `add`, `hide`, `reveal`, `cat`, and access-removal operations.
The changelog records steady hardening of a shell-based security tool: path mappings moved into `.gitsecret/paths/mapping.cfg`, modified-file hiding was added, FreeBSD and BusyBox support improved, Fedora packaging was noted, CI moved across platforms, and the 0.5.0 series added armored-output support and more robust permission handling.
git-secret gained a broader footprint than many Git secret tools because it was packaged for Homebrew, Debian-family systems, Fedora/RPM workflows, Alpine, and other downstream repositories. Its documentation also includes CI/CD usage, which made it attractive for deployment pipelines that already rely on Git and GPG.
Practitioners initialize `.gitsecret`, add trusted users' public keys with `git secret tell`, mark files with `git secret add`, encrypt them with `git secret hide`, and decrypt them with `git secret reveal` or `git secret cat`. Teams rotate access by removing a person from the keyring and re-encrypting files for the remaining recipients.
The package is significant because it is a portable shell implementation of repository-local secret sharing. It appeals to users who want encrypted files to travel with Git history and package managers rather than adopting an external secrets service.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
git-secret | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/sobolevn/git-secret
install metadata
| Package key | brew:git-secret |
|---|---|
| Version | 0.5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/git-secret |
| Homepage | https://sobolevn.me/git-secret |
| Repository | https://github.com/sobolevn/git-secret |
| Upstream docs | https://github.com/sobolevn/git-secret#readme |
| License | MIT |
| Source archive | https://github.com/sobolevn/git-secret/archive/refs/tags/v0.5.0.tar.gz |
| Last updated | 2026-06-22T14:03:31-07:00 |
| Pulse | updated |
| Dependencies | gawk, gnupg |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-secret |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
git-secret 0.5.0-1
store encrypted credential inside source code git repository
https://github.com/sobolevn/git-secret
sudo apt install git-secretgit-secret
nix profile install nixpkgs#git-secretgit-secret 0.5.0-1
store encrypted credential inside source code git repository
https://github.com/sobolevn/git-secret
sudo apt install git-secretgit-secret 0.5.0-r0
A bash-tool to store your private data inside a git repository
sudo apk add git-secretgit-secret-doc 0.5.0-r0
A bash-tool to store your private data inside a git repository (documentation)
sudo apk add git-secret-docgit-secret 0.5.0-10.fc44
A bash-tool to store your private data inside a git repository
sudo dnf install git-secretgit-secret
sudo port install git-secretsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.