American idiom meaning to have a secret advantage. Comes from stud poker, where one or more cards are dealt face down, the rest face up. The face down card is the "hole" card. An ace there is often the best advantage you can have in the game.