title: How to use this Git pre-commit hook
body: <p><a href="https://github.com/Yelp/detect-secrets" rel="nofollow noreferrer">Yelp detect secrets</a> is a system that prevents secrets from entering your code base. I would like to install <a href="https://github.com/Yelp/detect-secrets#pre-commit-hook" rel="nofollow noreferrer">the pre-commit hook</a> it provides.</p>
  <p>I've never used Git hooks before, but all the example files I see in <code>.git/hooks/</code> are in bash, while the example given in <a href="https://github.com/Yelp/detect-secrets#pre-commit-hook" rel="nofollow noreferrer">the readme</a> of yelp is a yaml file.</p>
  <p>They link to the <a href="https://pre-commit.com/" rel="nofollow noreferrer">pre-commit.com</a>; &quot;a framework for managing and maintaining multi-language pre-commit hooks&quot;.</p>
  <p>Does this mean the yelp pre-commit hook can only be used by first installing the <a href="https://github.com/pre-commit/pre-commit" rel="nofollow noreferrer">pre-commit</a> framework?</p>
  <p>If so, I'm kind of lost in the usage of pre-commit. I've installed it and I can call it. So in an existing repo I've run <code>pre-commit install</code>. But how can I now add the yelp detect secrets pre commit hook?</p>
  <p>Of course I've looked over the documentation on <a href="https://pre-commit.com/" rel="nofollow noreferrer">pre-commit.com</a>, but I'm kind of lost in it.</p>