Git push error RPC failed; curl 56 LibreSSL SSL_read: error:1404C3FC:SSL

I have used github for a long time. Now git cannot push the newly created repo to github. I always receive the following error. Recently replaced by a new MacBook M1 computer. I don’t know if this problem is caused by the new system.

error: RPC failed; curl 56 LibreSSL SSL_read: error:1404C3FC:SSL routines:ST_OK:sslv3 alert bad record mac, errno 0
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly

The previously created repo did not encounter such a push error message.

After entering the command line according to the article linked below, the error still continues.