I've always believed that gig was a term used in the jazz community. In New Orleans, jazz bands would often play on a cart, which is why the trombone was called a tailgate, because the lowered tailgate of the cart allowed room for the maximum slide of the instrument. If the cart was called a gig, there's your answer!