The Ganga is a sacred river.
Before some proper names such as names of rivers, 'the' is used, as we want to specify a particular river.
'A' is used to single out an individual as the representative of a class. Here, 'a' is used to single out a sacred river.