Automatically clean up stale worktrees
In https://gitlab.com/gitlab-org/gitlab-ce/issues/44068 and gitlab-org/gitlab-ce#44100, we saw many users had problems reading and writing their repositories because they had stale worktrees
that referenced bad/garbage collected commits.
We need a way to clean these up quickly so that we can upgrade to git 2.16.