Retrieve the referenced HEAD for the worktree
@param out_ pointer to the reference which will be retrieved @param repo a repository object @param name name of the worktree to retrieve HEAD for @return 0 when successful, error-code otherwise
See Implementation
Retrieve the referenced HEAD for the worktree
@param out_ pointer to the reference which will be retrieved @param repo a repository object @param name name of the worktree to retrieve HEAD for @return 0 when successful, error-code otherwise