znać jak własną kieszeń

Etymology
lit. 'to know like one's own pocket'. Compare 🇨🇬.

Verb

 * 1)  to know like the back of one's hand