title: Restore files removed by Git checkout
body: <p>I have accidentally forgot to "git add ." a bunch of files that I have created before creating a new branch using "git checkout -b name" and all my un-staged files have been replaced by the files from the head. </p>
  
  <p>Is there any way of retrieving these files? They are not in stash nor they have been commited.  Also I am not using an IDE which keeps a history of files.</p>
  
  <p>I have read about "git fsck --lost-found", but before I try that, is there any other way I can revert the un-staged files back onto the filesystem? </p>