title: Git doesn't clone content of template directory
body: <p>I want to have something like a post-clone hook.
  So my idea was to create a template directory in my remote origin which contains a &quot;hooks&quot; folder and a &quot;post-checkout&quot;-script within.</p>
  <p>So my &quot;post-checkout&quot;-script is located in the remote origin at:</p>
  <pre><code>[remote-repo-path]/template/hooks/post-checkout
  </code></pre>
  <p>Next, I configure the template directory in the remote origin:</p>
  <pre><code>git config init.templatedir '[remote-repo-path]/template'
  </code></pre>
  <p>But... when I clone from the repository I only get the stuff from the default templatedir on my local machine.</p>
  <p>How can I clone the template directory from my remote origin?</p>