fix the git worktree problem in cow-proxy-git