expose Commit::tree() and Commit::tree_id()