For the general recipe, follow these instructions.
cmsrel CMSSW_8_0_25
cd CMSSW_8_0_25/src
cmsenv
git cms-init
git remote add cmg-central https://github.com/CERN-PH-CMG/cmg-cmssw.git -f -t heppy_80X
cp /afs/cern.ch/user/c/cmgtools/public/sparse-checkout_80X_heppy .git/info/sparse-checkout
git checkout -b heppy_80X cmg-central/heppy_80X
git remote add origin [email protected]:YOUR_GITHUB_REPOSITORY/cmg-cmssw.git
git push -u origin heppy_80X
git clone -o cmg-central https://github.com/CERN-PH-CMG/cmgtools-lite.git -b 80X CMGTools
cd CMGTools
git remote add origin [email protected]:YOUR_GITHUB_REPOSITORY/cmgtools-lite.git
git push -u origin 80X
cd $CMSSW_BASE/src
scram b -j 8