Lookup a working tree by its name for a given repository
Output pointer to looked up worktree or NULL
NULL
The repository containing worktrees
Name of the working tree to look up
0 or an error code