Whenever I try to clone large repos, this is what happens:
$ git clone https://github.com/yarnpkg/berry.git
Cloning into 'berry'...
remote: Enumerating objects: 60762, done.
remote: Counting objects: 100% (1155/1155), done.
remote: Compressing objects: 100% (588/588), done.
Receiving objects: 5% (3454/60762), 13.86 MiB | 4.60 MiB/ (etc etc)
fatal: fetch-pack: invalid index-pack output
I have no anti-virus installed, and I'm not on a VPN. I tried connecting to another network and that didn't solve it, so there must be something with Big Sur causing this. I'm not sure what else to try.
macOS 11.4, APFS+ filesystem, git 2.31.1
I've already tried changing compression settings, messing with pack size settings, this post did not help either. I'm posting this because I've tried everything else I've seen on the Internet so far and nothing has worked.