Webster's Revised Unabridged Dictionary · 1913

hit it off

hit it off , intransitive verb

To get along well together; to be compatible; to work well together; -- of people in interactive situations; as, the new chemist hit it off immediately with his supervisor. [Colloquial]