title: difference between * and /* in gitignore
body: <p>I find <code>/*</code> and <code>*</code> has different means when I compare with the setting:</p>
  
  <pre><code>*
  
  !/init.el
  !/README.md
  !.gitignore
  !/lib/
  </code></pre>
  
  <p>VS</p>
  
  <pre><code>/*
  
  !/init.el
  !/README.md
  !.gitignore
  !/lib/
  </code></pre>
  
  <p>The former not track <code>/lib/</code> but the latter track it.</p>
  
  <p>How to undertand <code>*</code> and <code>/*</code>?</p>
  
  <p><strong>UPDATE</strong><br>
  I think this question is not exactly same as another one. Because he is focus on <code>dir/**</code> and <code>dir/*</code> but this one is focus on <code>/*</code> and <code>*</code>.</p>