title: File not shown in git diff after a git add. How do I know it will be committed?
body: <p>I had an untracked file which was not appearing in a git diff and when I added it to the 'changes to be committed' area, it still doesn't show up in the git diff. I shows up with a <code>git status -v</code> when I do a diff against HEAD.</p>
  
  <p>I'm still very new to git, so could anyone please tell me if the file will be committed even if it doesn't show up in a regular diff, as it has been added to the staging area?</p>