Setup new Mac with OSX Lion from scratch.
These commands are good as of 2012-03-18.
The download/install takes a while so start it first. When it finishes downloading you will still need to run it to complete installation.
Note: Make sure you install the XCode Command Line Tools after XCode is done installing. To do this go to Xcodes -> Preferences -> Downloads -> Command Line Tools -> Install. If you don't you might not be able to install brew packages (i.e. brew install wget will fail).*
- Thanks to Rico for posting the fix (http://ricochen.wordpress.com/2012/02/18/installing-git-on-mac-os-x-lion-through-homebrew-error-fix/)