Install Git on OSX 10.8
I had Homebrew installed already, so these four steps were enough:


brew install openssl
brew install git
mv /usr/bin/git /usr/bin/git.old
Add [http] sslVersion = tlsv1.2 to $HOME/.gitconfig


Note that you need to install new openssl before building new git, otherwise it will link against the old system version of openssl.