Prune working tree
Prune the working tree, that is remove the git data structures on disk. The repository will only be pruned of git_worktree_is_prunable succeeds.
git_worktree_is_prunable
Worktree to prune
Specifies which checks to override. See git_worktree_is_prunable. May be NULL
0 or an error code