Present-day Hinduism and Buddhism were growths from the same branch. Buddhism degenerated, and Shankara lopped it off!
Swami Vivekananda (2015). “The Complete Works of Swami Vivekananda”, p.2613, Manonmani Publishers