Hooks are little scripts you can place in $GIT_DIR/hooks directory to trigger action at certain points. When git-init is run, a handful example hooks are copied in the hooks directory of the new repository, but by default they are all disabled. To enable a hook, rename it by removing its .sample suffix. applypatch-msg GIT_DIR/hooks/applypatch-msg This hook is invoked by git-am script. It takes a s