Implement the `git_worktree_add` function which can be used to create new working trees for a given repository.