title: How to set Git options with relative path in Windows?
body: <p>I have the following project structure and trying to change the default git hooks path from <code>.git/hooks</code> to <code>.githooks</code>. I found out that the command <code>git config core.hooksPath .githooks</code> is responsible for this. But I've been struggling with the relative path in Windows 10, I need to go up 2 times and then specify <code>.githooks</code> directory, but any <code>..\.</code>, <code>../.</code>, <code>&quot;..\.&quot;</code> doesn't work.
  Maybe the problem not only in Windows but also the way how Git handles the config file, where this path will be written</p>
  <p>How to specify such a path, for instance, in PowerShell?</p>
  <p>Project directories:</p>
  <pre><code>|
  └───.githooks &lt;---I want it here
  └───.git
  │   └───hooks &lt;---by default it's here
  </code></pre>
  <p><strong>Solved:</strong> <code>phd</code> <strong>suggested to use</strong> <code>git config core.hooksPath ./.githooks</code> <strong>which works for windows</strong></p>