title: How do you roll back (reset) a Git repository to a particular commit?
body: <p>I cloned a Git repository and then tried to roll it back to a particular commit early on in the development process. Everything that was added to the repository after that point is unimportant to me so I want to omit all subsequent changes from my local source code.</p>
  
  <p>However, when I try to roll back in the GUI tool it doesn't update my local file system - I always end up with the latest source code for the project.</p>
  
  <p>What's the correct way to just get the source for a repository as of a particular commit in the project's history and omit all later updates?</p>