From Wiktionary, the free dictionary
pegar o jeito (first-person singular present pego o jeito, first-person singular preterite peguei o jeito, past participle pegado o jeito)
- (idiomatic) to get the hang of (to learn how to do something) [with de ‘something’]
- Synonym: pegar a manha