title: What's the difference between `git add .` and `git add -u`?
body: <p>I was assuming that both work in the same way. Both add every file onto index. But I seem wrong.</p>
  
  <ul>
  <li>What's the difference between <code>git add .</code> and <code>git add -u</code>?</li>
  </ul>