hit it off

Today the word I’ve met is hit it off.
He had never hit it off with my brother.
hit it off is to be naturally friendly or well suited.