fix corrupted .git