checksPackage checks implements common checks that can be used in git hooks.
cmd/pre-commitpre-commit is a git client-side pre-commit hook.
cmd/pre-receivepre-receive is a git server-side pre-receive hook.
configPackage config is a wrapper around git-config.
gitPackage git implements helpers for common tasks necessary when implementing git hooks.
hookPackage hook handles the magic of translating the inputs to the various git hooks (which might be from the command line or standard input) and calling user-defined functions.

Updated 2018-01-23. Refresh now. Tools for package owners.