title: git add * (asterisk) vs git add . (period)
body: <p>I'm new to git and I have a question about adding files in git. I have found multiple stackoverflow questions about the difference between <code>git add .</code> and <code>git add -a</code>, <code>git add --all</code>, <code>git add -A</code>, etc. But I've been unable to find a place that explains what <code>git add *</code> does. I've even looked at the <a href="http://git-scm.com/docs/git-add">git add man page</a>, but it didn't help. I've been using it in place of <code>git add .</code> and my co-worker asked me why. I didn't have an answer. I've just always used <code>git add *</code>.</p>
  
  <p>Are <code>git add .</code> and <code>git add *</code> the same? Does one add changed files from the current directory only, while the other adds files from the current directory and subdirectories (recursively)?</p>
  
  <p>There's a great chart listed on one of the other stack questions that shows the difference between <code>git add -A</code> <code>git add .</code> and <code>git add -u</code>, but it doesn't have <code>git add *</code>.</p>
  
  <p><img src="https://i.stack.imgur.com/YfLUZ.jpg" alt="enter image description here"></p>
  
  <p>Note: I understand what it means to use the asterisk as a wildcard (add all files with a given extension). For example, <code>git add *.html</code> would add all files that have a <code>.html</code> extension (but ignore <code>.css</code>, <code>.js</code>, etc). </p>
  
  <p>Thanks for the help!</p>