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