Magners will become shirt sponsor of Celtic Football Club after brand owners C&C Group agreed a three-year deal.