I thought maybe the error was due to having duplicated LFS files that made the repository too large. However, I have since deleted the repository to re-upload it. It's definitely not too big.
It stops while uploading 39% (only 1.5GB out of 4 GB) I have up to 5GBs LFS.
I tried pushing my initial commit and I receive the same errors as before:
EOF
Write | 1: The pipe is being closed
I can't find any helpful answers online.