When you "hit it off" with someone (often in the context of a romantic date), it means that the social interaction was pleasant, enjoyable, fun; the two people in the situation quickly felt comfortable talking to each other and became "fast friends."