Restoring .git files.