Added repo.tree() method to get a git tree from a sha