Gear swapping, how does it work?

Christ, I thought this was 2012...