Git Error cloning remote repo code 128 early eof

In case you cannot clone your repository even in shallow mode it means that more memory is needed for git to fetch the files. The git output is similar to:

Again we see the same

fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

but this time we may need to raise default packedGitWindowSize and windowMemory. To do this we add these lines to your global git configuration file, which is .gitconfig in $USER_HOME, in order to fix that problem.

This tweak allows Git to fetch bigger pack and fixes the issue!

Good luck!

Want me to do this for you? Drop me a line: itgalaxyzzz {at} gmail [dot] com