Hung up unexpectedly

Randomly - I get this error message:
(oh - internal machines, linux server - linux runner)

JUST LIKE THIS:

section_end:1654553506:prepare_script
Ksection_start:1654553506:get_sources
OK
OK
Getting source from Git repository
Fetching changes with git depth set to 20
Reinitialized existing Git repository in /BULK/home/gitlab-runner/builds/iTanaszn/0/dellis/bash-clone/.git/
fatal: git fetch-pack: expected shallow list
fatal: The remote end hung up unexpectedly
section_end:1654553515:get_sources
section_start:1654553515:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1654553515:cleanup_file_variables
ERROR: Job failed: exit status 1

Often the only solution I Have found that works is

"su -  gitlab-runner"
cd ${HOME}
rm -rf ./buijlds

And run again - and again, eventually it works.

My next step is to setup wireshare and capture packets and see if this is somewhere in the network stack closing the connection.

Often when this fails, the local git clone is garbage and nothing I do will fix this.

I would think resorting to wireshark traces is a bit of over kill to this problem.

EDIT: SOME OTHER NOTES

As described here: Fatal: The remote end hung up unexpectedly
The person is pushing a LARGE (900meg?) project. In my test example I am using the standard GNU BASH V5.1 from savana.org - the GIT directory is only 17MEG (its not large)

As described here:

But - they are just doing a normal “git clone” from the command line…