You can force Git to check the whole repository with git fsck
. If a Git repository gets corrupted, you should get a new clone from a non-corrupted repository.
Under normal operation Git should check parts of the repository as they are read, so it might take longer to notice some corruption, but it will be noticed the first time that you try to access the corrupt data.