I have a very basic question: Is this gamma value has something to do with the gamma hedge? In delta hedge, it's done by buying/selling delta amount of underlying. But in textbook, for a put option, the gamma hedge is to sell a call option (not gamma amount of stock or option).
I am trying to understand the general rule. Regarding what to do for a delta or gamma hedge, is this indicated by the Ito's lemma of dV function?

My hunch is that gamma hedge tries to get ride of the second order term
from dV, and buying/selling underlying S cannot cancel it out. Is this why we need another call option to hedge a put option?
I found similar topic, Hedging, Delta, Gamma, Vega, but accepted answer did not address my question. Thank you in advance for any ideas.