title: What is the tree hash of a specific commit hash?
body: <p>I need a shell command-line which puts the tree hash corresponding to a specific commit hash. I know that <code>git cat-file commit $COMMITID | grep ^tree</code> can do it, but I have to filter the output of that. Is there any command which prints only the hash?</p>