Vishnudharmottara Purana (Jyotisha Selections) · by Vyasa
Chapter 4 · Ayana, Months, Tithis, Karanas, Muhurtas and the Lagna Vargas
अयनमासतिथिकरणमुहूर्ताः लग्नवर्गाश्च
त्वाष्ट्रश्चैत्रस्तु वैशाखो मासश्चैवाग्निदैवतः ।ज्येष्ठश्शाक्रस्स्मृतो मास आषाढो वैश्वदैवतः ॥ ३ ॥
In the full Vishnudharmottara Purana this is Khanda 1, chapter 83, verse 3.
Chaitra belongs to Tvashtri. Vaishakha is Agni's month. Jyeshtha is remembered as Indra's. Ashadha has the Vishvedevas as its gods.
Simple meaning: Chaitra belongs to Tvashtri, Vaishakha to Agni, Jyeshtha to Indra and Ashadha to the Vishvedevas.
श्रावणो विश्वदैवत्य आजो भाद्रपदस्तथा ।
Shravana belongs to the Vishvedevas, Bhadrapada to Aja, Ashvina to the Ashvins and Kartika to Agni.
मार्गशीर्षस्तथा सौम्यः पौषस्याज्जीवदैवतः ।
Margashirsha belongs to Soma, Pausha to Jupiter, Magha to the ancestors and Phalguna to Bhaga.
मासेषु मासदैवत्या शुक्लपक्षाः प्रकीर्तिताः ।
The bright halves belong to the month's own god. Next, the gods of the dark halves are given.