copy the dropped file to the worktree if the repository is synced