Forked from Mathias Bynens. Also inspired by Zach Holman.
Install XCode from AppStore. Then execute:
$ ./osx_install.sh
For SSH key generation execute (replace comment with your email!):
$ ssh-keygen -t rsa -C '[email protected]'
# [ follow prompts ]
$ pbcopy < ~/.ssh/id_rsa.pub
For Git configuration copy template ...
$ cp .gitconfig.local.example ~/.gitconfig.local
... and fill in your name and email.