Let's start by acknowledging that defining god is a nearly impossible task as there are so many points of view. There have been many books written on this subject, not to mention lifetimes spent on the task of defining God.
There are many religions that believe in a God, but in yoga, this higher being and higher purpose are sought as a way to leave behind the physicality of life and reconnect us to nature and Self. For many, to practice yoga is a form of uniting with God. In yoga, God is referred to as the Deva, which is known in the Sanskrit language in the Upanishads and Bhagavad-Gita as the real Self or the seer. According to yoga philosophy we also interpret God as Consciousness or consciousness leads to God. In yoga the individual and God are believed to be one.