pkg.soopen package index

brew / rank 9390

Install git-hooks-go with Homebrew

Git hooks manager. Version 1.3.1 via Homebrew; verified 2026-07-09.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install git-hooks-go

local Homebrew formula metadata

overview

Package summary

Git hooks manager

Commands and aliases

  • git-hooks

history

Project history and usage

git-hooks is a Go-based manager for Git hooks. It provides the `git hooks` command and organizes client-side hooks into project, user, global, and semi scopes.

Project history

The project was created on GitHub in November 2014 and describes itself as rewritten from icefox/git-hooks with extra features. Its own history file records a 1.0.0 release in November 2014, and later GitHub releases added update, installation, and configuration improvements.

Adoption history

git-hooks belongs to the older wave of hook managers that tried to make Git's local hook mechanism shareable before tools such as pre-commit became widespread. Its adoption signal is modest but real: the repository has several hundred stars, package-manager coverage through Homebrew, and a GitHub Pages manual that documents project, user, and system-wide hook scopes.

How it is used

Practitioners install the `git-hooks` binary, run `git hooks install` inside a repository, and place hook scripts in structured directories such as `githooks/pre-commit`. The tool can also read `githooks.json` for community hook repositories and uses Git system configuration for global hook directories.

Why package nerds care

The package matters as a small Git subcommand with configuration spread across repository files and Git config. For packagers, the `git-hooks-go` formula name avoids collision with generic hook terminology while exposing the executable as `git-hooks`.

Timeline

  • 2014: GitHub repository created and 1.0.0 history entry recorded.
  • 2015: Early releases fix repository detection and installation behavior.
  • 2019: Release v1.2.0 adds SSH protocol support in `githooks.json`.
  • 2020: Release v1.3.1 adds `hooks.global` support in user config.

Related projects

  • git-hooks is descended from icefox/git-hooks and occupies the same space as other Git hook managers that standardize local pre-commit, commit-msg, and related hook workflows.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
githooks.json/etc/gitconfig/usr/local/etc/gitconfig

executables

Installed executables

CommandKindExposureNote
git-hooksexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version1.3.1
manager updated2026-07-09
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:git-hooks-go
Version1.3.1
Package managerHomebrew
Homepagehttps://git-hooks.github.io/git-hooks
Repositoryhttps://github.com/git-hooks/git-hooks
Last updated2026-07-09T19:34:54+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation