Lookup a tree entry by its position in the tree
This returns a git_tree_entry that is owned by the git_tree. You don't have to free it, but you must not use it after the git_tree is released.
the position in the entry list
the tree entry; NULL if not found