Install latest Xcode
The download/install takes a while so start it first. When it finishes downloading you will still need to run it to complete installation.
Really the nicest choice for a terminal on OSX right now.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"