Ram is a common ancestral myth:from Egypt. Egypt and its agriculture and culture was probably formed long before the Gangetic plains, invaded by successive and overlapping waves of Africans, Greeks etc. They brought their faiths on their flags and planted them here in this Gangetic soil.
Ram is derived from
the name of the ancient sun god of Egypt:RA/RE.