Add support to build with git.
Select correct branch.
Merge pull request #127 from ktf/IB/CMSSW_6_1_X/stable

Add support for git to CMSSW_6_1_X CMSDIST.