[client] Improve worktree monitor for Linux.

Detect details of worktree events.
tmp