?
to get the hang of something
"To get the hang of something" = To finally understand/learn/discover how to do something - especially when it's something difficult/complicated/not obvious.
A little bit like learning how to ride a bike. You fall off 1000 times until you get the hang of it.