"Git: command not found" error while installing RVM on OS X

OS X does not ship with Git by default.

Three possibilities:

  1. Easy GUI method: Download and run Git OS X installer. It's not always the latest version of Git, but should work fine for most cases.

  2. OS X Lion only: Download Xcode 4 from the Mac App Store. It has Git integrated.

  3. Command-line method: This works on all OS X versions. Install Homebrew and then run brew install git. You need Xcode for that. If you're on Snow Leopard, register as an Apple Developer (it's free) and then install Xcode 3.