NOTE: Make sure you know/trust the server you are communicating with in the first place
Sometimes, git servers can have issues with TLS or other secure handshaking procedures. This is often due to connecting from an older linux/ubuntu box. If you are truly desperate and don’t have time to fix the SSL/TLS properly, here is a very quick fix:
Then run your normal git fetch or git push command.