git-secrets

Prevents committing sensitive information to git repositories

brewmacoslinux
Try with needOr install directly
Source

About

Prevents you from committing sensitive information to a git repo

Commands

git-secrets

Examples

Install git-secrets hooks in a repository$ git secrets --install
Scan repository history for secrets$ git secrets --scan
Add custom secret pattern to detect$ git secrets --add 'pattern_regex'