title: With git, how do I reset the local deployment branch to origin's version?
body: <p>I've got a local branch called <code>deployment</code>. This branch is also on <code>origin</code>. How do I reset the local deployment branch to the state of <code>origin</code>'s deployment branch?</p>
  
  <p>Something like the following:</p>
  
  <pre><code>git fetch origin
  git reset --hard origin/deployment
  </code></pre>
  
  <p>Would that be possible?</p>