Assume that you are on OS X, and you need headfiles for boost.
https://github.com/boostorg/boost.git --depth 1 ## <~ (Search 'boost' on github.com and clone)
cd boost/
git pull --unshallow
git reset --hard 436ad1d ## (Reset to special version, check from its release page on github.com)
git submodule update --init ## (Maybe build another branch will be betta)
./bootstrap.sh
./b2 ## (Maybe ./b2 install)
## (Maybe Ok)