title: how to update to a specific commit in git?
body: <p>I am new to git and I would like to know if I can update my local repository to a specific commit. 
  Is this possible using checkout?</p>
  
  <pre><code>git checkout &lt;commitId&gt;
  </code></pre>
  
  <p>exp</p>
  
  <pre><code>git checkout 55215860452c5c6fb11eac6f51d63abb187e7
  </code></pre>
  
  <p>Thanks in advance!</p>