Add Git build info when we build a distribution
closes #3370