environment: store worktree in the_repository