git clone https://github.com/d3vadv3ntur3s/some-cool-repo.git
Cloning into 'some-cool-repo'...
remote: Enumerating objects: 145563, done.
remote: Counting objects: 100% (6172/6172), done.
remote: Compressing objects: 100% (2684/2684), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly
fatal: early EOFs: 50% (72782/145563), 112.51 MiB | 3.39 MiB/s
fatal: index-pack failed
Step 1. Turn off compression
git config --global core.compression 0
Step 2. Partial cone latest commit on default branch
git clone --depth 1 https://github.com/d3vadv3ntur3s/some-cool-repo.git
Step 3. Retrieve the rest
git fetch --unshallow
Step 4. Pull down refs
git pull --all
Step 5 configure remote branches and pull down everything
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
git config --get remote.origin.fetch
git pull