I am using this command to push work to my github:
git push -u origin main
I keep getting this error:

error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
I tried increased the size of Git's HTTP buffer using:
git config --global http.postBuffer 524288000
But I still get the same error message, nothing changes. I even tried to create a new repo - same thing, I can't push any work to the new repo.