Retrieve a tree entry contained in a tree or in any of its subtrees, given its relative path.
Unlike the other lookup functions, the returned tree entry is owned by
the user and must be freed explicitly with git_tree_entry_free()
.
Path to the contained entry
0 on success; GIT_ENOTFOUND if the path does not exist