title: Git confusion - how to revert local changes to latest remote push?
body: <p>I have a local git repository, but things get wrong and complicated and I simply want to overwrite all the files in my local directory with the latest version of what is on the remote repository. This would be like a clone, but for an already setup local git repository.</p>
  
  <p>For example: if use <code>git pull</code>, then I don't get locally deleted folders back from the remote.</p>
  
  <p>Is it <code>checkout</code> that I must use? But how to tell it to retrieve the files from a remote (and not from the stage) and overwrite all?</p>