The past tense of get upper hand is got upper hand.
The third-person singular simple present indicative form of get upper hand is gets upper hand.
The present participle of get upper hand is getting upper hand.
The past participle of get upper hand is gotten upper hand.