derived from the Sanskrit root "yuj". The whole of the techniques recommended for restraining the mind with both concentration and letting go is called yoga. In its traditional sense, yoga is the coming together of the individual soul (Jivatma) and the universal soul (paramatma), or the realization of an omnipresent, literary, happy Self by getting rid of one's own limited, petty self.
When we look at their history, although they come from the same root as Hinduism, ancient India, the development of the two has been different. Yoga has evolved into hatha yoga, that is, it has become the discipline of yoga. You don't have to believe in a certain thing to practice yoga. Yoga does not conflict with any religion, nor does it say anything against it. Hatha, when you look deeply into the philosophy of Yoga, you can see their partnership with Sufism, so you don't have to abandon your own religious beliefs to practice Yoga.