.oid => .id, due to pygit v0.20.2 deprecations
.tree.hex => .tree_id, thanks to pygit v0.20.2 improvements
X.parents[0].hex => unicode(X.parent_ids[0]), due to pygit v0.20.2 changes
X.hex => unicode(X.id), due to pygit v0.20.2 deprecations