title: Git command to list SHA1 hashes for all tree objects
body: <p>Using the command <code>git show-ref --tags</code> I can see all the tags and the SHA1 hashes for all these tags. </p>
  
  <p>I would like a similar command for trees: a command to output all the SHA1 hashes for all the tree objects, but for nothing else.</p>