title: How to see git commit id
body: <p>I am a beginner in git I want to know how to see <em><strong>git commit id</strong></em> I tried to see it through git log but i think it's not showing write id
  Reason:I want to compare two commits it's syntax is</p>
  <pre><code>Git diff &lt;commit id&gt; &lt;commit id&gt;
  </code></pre>