check git repo with fsck before deploy.