This is my guide to getting essential tools for DevOps on Mac OS X.
You need XCode command line tools. Type git
or something and run through instructions.
If you have all day to download the full Xcode IDE compiler, point Xcode command line tools to Xcode (don't ask):