The topology of the gauge group