Can't clone large repo, early EoF and won't ask for credentials

Attempting to clone always results in: error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054 followed by an early EoF. It’s completely random when this happens and cloning through github desktop will randomly freeze, sometimes it gives me an early EoF error or it’s just frozen until I close it. I’ve tried changing the http post buffer, using SSH and HTTP, changing my internet connection, a big list of git set commands from here https://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning, Installing lfs. I don’t know what else to try. As far as I understand, when cloning it should ask for a username/password credentials for gitlab but that only even appears as a password popup if I include my username in the clone command. I’ve gone through numerous solutions through various forums and I just can’t solve it. It’s a fairly large project, around 50gig? Also I’m not big on git or even source control. I’m making the most of what I can and it’s likely I’ve broken something along the way but have no way of knowing what. Any help is appreciated, I don’t know where to go.

I should also preface that I’ve managed to get it to work once with a --depth 1 clone but I can’t seem to replicate it.