The game is mentioned multiple times throughout the book, particularly in the scene where George and Lennie are talking about their dream of owning a farm.
Although the specific rules of "pitch" as they played it aren't detailed in the book, it's clear that it's a card game they enjoy and use as a way to pass the time.