Suddenly my repository failed to clone:
Cloning into ‘myrepo’…
remote: Counting objects: 332184, done.
remote: Compressing objects: 100% (59662/59662), done.
fatal: The remote end hung up unexpectedly020.57 MiB | 9.89 MiB/s
fatal: early EOF
fatal: index-pack failed
It failed at exactly 1GB.
It was caused by a limit in nginx reverse proxy, after increasing the limit to 2GB I could clone again.