Synchronize working directory state