Thanks for joining the group with such a fundamental question. Once the two key concepts contained in this question — God and the universe — are articulated, the answer presents itself. If you start your thinking process with the concept of an almighty God who’s omnipotent, omnipresent and omniscient, you will inevitably end up with the conclusion that this God must be identical to the totality of what exists.
To understand the universe is to understand the self transformation of such a God, wherein lies the true meaning of the true forms of science (not the current ones). If you really want to focus on the “how” part of the question, the answer is simply eternal transformation through the dynamic interactions between the two fundamental charges following the basic law of the conservation of angular momentum.
In this mundane world, of course, people believe in all sorts of what they accept as God, leading to all sorts of theories — the very reason why such a question would arise.
Most importantly, God isn’t the only or best concept to capture the totality of existence. That honor belongs to the concept of energy: whatever exists is but a form of energy. Once this basic truth is established, everything else follows suit: the conservation of energy, including angular momentum; the self transformation of energy; the associated functions of various forms; etc.