place in a hooks directory to trigger
actions at certain points in git&#8217;s execution. Hooks that don&#8217;t have
the executable bit set are ignored.</p>
</div>
<div class="paragraph">
<p>By default the hooks directory is <code>$GIT_DIR/hooks</code>, but that can be
changed via the <code>core.hooksPath</code> configuration variable (see
<a href="git-config.html">git-config(1)</a>).</p>
</div>
<div class="paragraph">
<p>Before Git invokes a hook, it changes its working directory to either
$GIT_DIR in a b