title: Getting the information of squashed commits in Git
body: <p>I squash some commits in Git using <code>git rebase -i origin/master</code> as mentioned in <a href="http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html" rel="noreferrer">ReinH.com</a>.</p>
  
  <p>After squashing some commits, is there a way to see the original commits? Is it possible to get "diff" of the commits? Can I get the SHA?</p>
  
  <p>If it's possible, is that still possible after running <code>git gc</code>?</p>