Implement get_ref, and commit->parent, ->tree, ->author, ->committer