The early tradition is usually called the Vedic religion, or Vedism. Both names point to the Vedas, its core scriptures. Historians use the term for the ritual religion practiced in the northwestern part of the Indian subcontinent and later on the Ganges plain, roughly from 1500 to 500 BCE. The dates are debated, and the religion changed a great deal over that span.
Vedic religion or Vedism
“Vedic” comes from the Veda, a Sanskrit word meaning knowledge. “Vedism” means much the same thing and appears more often in older books and reference entries. In Sanskrit the tradition is sometimes described as vaidika dharma, meaning the religious order based on the Vedas.
Both names describe a long period rather than one fixed set of beliefs. Later Hindu thinkers classed the Vedas as shruti, meaning heard or revealed, which places them among the most authoritative of the Hindu shastras, the sacred texts that guide Hindu practice.
Brahmanism
Scholars also use Brahmanism for a later phase of the tradition. In that phase, priests from Brahmin families shaped religious life, guided by the Brahmanas, prose texts on ritual. Some writers use Brahmanism as a near-synonym for the Vedic religion, which can make the terms confusing. If you use both, define each one.
Sanatana Dharma
Many Hindus describe their tradition as Sanatana Dharma, which means eternal order or eternal path. The phrase became widely used in the 19th and 20th centuries as a name for Hinduism as a whole. It is not the name of the early Vedic religion on its own.
Why the label is disputed
Some Hindu writers describe the Vedic layer as “ancient Hinduism” and treat it as the first stage of their own tradition. Scholars more often call it a predecessor of Hinduism. The two are connected, but the textual record shows real changes in gods, ritual and belief, so treating them as identical hides those differences.
Which name to use
In historical writing, “Vedic religion” is the clearest name for the early period. “Hinduism” is the better name for the living traditions that developed later. “Sanatana Dharma” is the term many Hindus use for their tradition as a whole, so it suits discussions that follow their own usage.
Whether the early religion and Hinduism should be treated as one tradition is a larger question, and it is taken up in Vedic religion vs Hinduism.