title: How to discard local changes and pull latest from GitHub repository
body: <p>I have a directory on my machine where I store all projects from GitHub. I opened one of them and made changes locally on my machine. Project got messed up and now I want to discard all the changes I made and pull the latest version from the repository. I am relatively new to GitHub, using Git Shell. </p>
  
  <p>Would <code>git pull</code> command be sufficient?
  Do I need to do anything extra to discard the changes made locally?
  Can anyone help?</p>