Add a new working tree
Add a new working tree for the repository, that is create the required data structures inside the repository and check out the current HEAD at path
path
Output pointer containing new working tree
Repository to create working tree for
Name of the working tree
Path to create working tree at
Options to modify default behavior. May be NULL
0 or an error code