git push not working due to failure of http request

I am on a mac osx 10.7.5 and am running git version 1.7.12.4.

I installed xcode version 4.6.3 to get git, as other versions of git (including the most recent one) do not work on my system.

Every time I attempt to use git push I get the error:

“error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version while accessing https://github.com/thoranderskow/website.git/info/refs?service=git-receive-pack
fatal: HTTP request failed”

Is there any way to fix this?

Do you have SSH key setup? Try changing remote to git@github.com:thoranderskow/website.git instead of the https version.