Which Indian god has the head of an elephant?
Ganesha
Two verses in texts belonging to Black Yajurveda, Maitrāyaṇīya Saṃhitā   (2.9.1)[180] and Taittirīya Āraṇyaka (10.1),[181] appeal to a deity as "the tusked one" (Dantiḥ), "elephant-faced" (Hastimukha), and "with a curved trunk" (Vakratuṇḍa). These names are suggestive of Ganesha, and the 14th century commentator Sayana explicitly establishes this identification.[182] The description of Dantin, possessing a twisted trunk (vakratuṇḍa) and holding a corn-sheaf, a sugar cane,[183] and a club,[184] is so characteristic of the Puranic Ganapati that Heras says "we cannot resist to accept his full identification with this Vedic Dantin".[185] However, Krishan considers these hymns to be post-Vedic additions.[186]  Thapan reports that these passages are "generally considered to have been interpolated". Dhavalikar says, "the references to the elephant-headed deity in the Maitrāyaṇī Saṃhitā have been proven to be very late interpolations, and thus are not very helpful for determining the early formation of the deity".[187]