Make ~/bin, detect osx, fix git settings.