
Prevents you from committing passwords and other sensitive information to a git repository.
Checked October 2026.
git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories. If a commit, commit message, or any commit in a --no-ff merge history matches one of your configured prohibited regular expression patterns, then the commit is rejected.
Installing git-secrets
*nix (Linux/macOS) You can use the install target of the provided Makefile to install git secrets and the man page. You can customize the install path using the PREFIX and MANPREFIX variables. make install
Windows Run the provided install script.
No core features are listed for this product yet, so check the vendor's documentation for the full feature list.
No integrations are listed for this product yet. Check the vendor's documentation, or ask the vendor which integrations and APIs it supports.
Common questions about git-secrets: features, pricing and alternatives.
git-secrets is a product in the Secrets Detection category.
git-secrets is free. Download and setup instructions are at https://github.com/awslabs/git-secrets/.
Alternatives to git-secrets listed on CybersecTools:
Compare all git-secrets alternatives at https://cybersectools.com/alternatives/git-secrets
git-secrets is available as on-premises software. It is listed for startups, small businesses, mid-market companies and enterprises. It is free.
Side by side: features, pricing model and the company behind each one.
DumpsterDiver analyzes large datasets to detect hardcoded secrets, keys, and passwords using entropy calculations and customizable search rules.
A sensitive data detection tool for scanning source code repositories
A tool that combines multiple open source Git scanning utilities to detect and list secrets stored in Git repositories for security audits and compliance checks.
A tool for identifying sensitive secrets in public GitHub repositories
Monitor GitHub for sensitive data
Non-human identity security platform for secrets detection and management
On our shortlist?
No shortlist covers this product's category yet. The closest is Best Application Security Solutions for Business.
Get a summary of this page from your assistant.
Mandos MCP: ask about all 9,033 products.
Connect your AI