title: Git ignore files while cloning
body: <p>I have got a git bare repository with the following contents </p>
  
  <pre><code>         HEAD  branches  config  description  hooks  info  objects  refs
  </code></pre>
  
  <p>The info folder also contains info/mailist.txt and info/log</p>
  
  <p>My question is that if the user is cloning this file then how to ignore these two files with the clone command</p>
  
  <pre><code>             git clone --bare main new --ignore //???????? 
  </code></pre>