get (one's) mind around (something)
To understand or comprehend something that is challenging or confusing. It took a while, but I've finally gotten my mind around this chapter in my calculus textbook. Wait, you two are dating now? It's going to take a little while for me to get my mind around that!