How To Install Git Subtree on Mac and Ubuntu

Directions for installing git subtree on Mac (OS X) and Ubuntu.