When the git-worktree call exits with an error we can delete the temporary directory as nothing is in it.
$+commands[]
command -v
commit-last-msg
git-make-fork