# Install git-hound with Homebrew, Nix

Git plugin that prevents sensitive data from being committed. Version 1.0.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:git-hound
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-hound
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#git-hound
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gi/git-hound/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:git-hound
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-hound>
- **Version:** 1.0.0
- **Source summary:** Git plugin that prevents sensitive data from being committed
- **Homepage:** <https://github.com/ezekg/git-hound>
- **Repository:** <https://github.com/ezekg/git-hound>
- **Upstream docs:** <https://github.com/ezekg/git-hound#readme>
- **License:** MIT
- **Source archive:** <https://github.com/ezekg/git-hound/archive/refs/tags/1.0.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-hound (cli)
- git-hound (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.0
- Local data: ok
- Upstream repository: https://github.com/ezekg/git-hound
- Upstream latest detected: 1.0.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

git-hound is a Git plugin for preventing sensitive data from entering commits. It checks staged diffs against user-provided PCRE regular expressions before commit operations proceed.

### Project history

The repository was created in November 2015 as a Go command-line plugin. Its README presents Hound as a small Git extension with precompiled release binaries, Go installation, and Homebrew installation paths.

### Adoption history

git-hound fits the mid-2010s rise of local secret-scanning tools, when teams began adding pre-commit checks for passwords, database settings, tokens, and machine-specific paths. Its adoption stayed niche compared with larger scanners, but the repository attracted several hundred stars and was packaged for Homebrew and Nix.

### How it is used

Practitioners run `git hound commit` to sniff staged changes before invoking `git commit`, or `git hound sniff` to scan a commit, a manual diff, a whole codebase, or repository history. The `.githound.yml` file separates warning patterns, failure patterns, and skipped filenames.

### Why package nerds care

The package is interesting because it exposes Git's plugin naming convention: installing `git-hound` makes `git hound` available. It is also a compact example of pre-commit security tooling before secret scanning became a standard hosted-platform feature.

### Timeline

- 2015: GitHub repository created for the Go implementation.
- 2016: Several 0.5.x releases publish packaged binaries.
- 2017: 0.6.x releases continue the pre-1.0 line.
- 2020: 1.0.0 release published.

### Related projects

- git-hound is related to Git hooks, pre-commit frameworks, and secret scanners such as git-secrets and truffleHog, all of which try to catch sensitive strings before or after they enter Git history.

### Sources

- <https://api.github.com/repos/ezekg/git-hound/releases>
- <https://github.com/ezekg/git-hound>
- <https://raw.githubusercontent.com/ezekg/git-hound/master/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .githound.yml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-hound
- **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:** head, stable

## Other Package-Manager Records

- Nix - git-hound: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-hound/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [detect-secrets](https://www.automicvault.com/pkg/brew/detect-secrets/) - Shares av.db curated category or tags: cli, pre-commit, secret-scanning, security.
- [git-secrets](https://www.automicvault.com/pkg/brew/git-secrets/) - Shares av.db curated category or tags: cli, git, secret-scanning, security.
- [gitleaks](https://www.automicvault.com/pkg/brew/gitleaks/) - Shares av.db curated category or tags: cli, git, secret-scanning, security.
- [squealer](https://www.automicvault.com/pkg/brew/squealer/) - Shares av.db curated category or tags: cli, git, secret-scanning, security.
- [tartufo](https://www.automicvault.com/pkg/brew/tartufo/) - Shares av.db curated category or tags: cli, git, secret-scanning, security.
- [kingfisher](https://www.automicvault.com/pkg/brew/kingfisher/) - Shares av.db curated category or tags: cli, secret-scanning, security.
- [mantra](https://www.automicvault.com/pkg/brew/mantra/) - Shares av.db curated category or tags: cli, secret-scanning, security.
- [git-credential-libsecret](https://www.automicvault.com/pkg/brew/git-credential-libsecret/) - Shares av.db curated category or tags: cli, git, security.

## Combined YAML source

View the package source record on GitHub. [combined/git-hound.yml](https://github.com/automic-vault/db/blob/main/combined/git-hound.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
