Free a previously allocated worktree
worktree handle to close. If null nothing occurs.
See Implementation
Free a previously allocated worktree