Git clone 出現 "remote: fatal: object xxx is corrupted" 修復

git clone ssh://example.com/project.git # 出現下述錯誤

error: git upload-pack: git-pack-objects died with error.
remote: fatal: object 161824656702683f2b9c06a3511143f56da8ee0a is corrupted
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.

git clone -v ssh://example.com/project.git

Initialized empty Git repository in /home/user/project/.git/
[email protected]'s password:
Server supports multi_ack_detailed
Server supports side-band-64k
Server supports ofs-delta
want 1dd602b6095d36e8c50bcc1335f7b6b2320ab9cd (refs/heads/master)
done
remote: fatal: object f3c8013acb933dc392e3ac2905901671141fbae1 is corrupted
error: git upload-pack: git-pack-objects died with error.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.

閱讀全文〈Git clone 出現 "remote: fatal: object xxx is corrupted" 修復〉