title: Difference between git reset --hard and git clean
body: <p>Hi I am curious about the difference between these two commands. When they introduce here: <a href="https://www.atlassian.com/git/tutorials/undoing-changes" rel="noreferrer">https://www.atlassian.com/git/tutorials/undoing-changes</a></p>
  
  <p>Looks like git reset --hard also sets both the staging and the working directory to match the latest commit, but in the end they say that git reset --hard won't change the current working directory. So i am very confused here, can someone clarify it? </p>