It's interesting to me that several people I greatly admire in comp sci/technology are religious: Fred Brooks, Knuth, Larry Wall and Clayton Christensen (The Innovator's Dilemma).
To me, one aspect of the idea of God is as a workable label for all the things I don't know (especially those questions I know not of; the doors I have not suspected exist; the things my philosophy does not dream of; the unknown unknowns). Also helps me to seek questions (define problems) even if I can't imagine knowing the answer (finding solutions). It helps me to just let it be.
Another aspect is political: human beings, like other apes, tend to organize around a dominant male (and even chickens have a pecking order). When groups grew in size due to agriculture and civilization, this scaled to super-dominant males - gods embodied in persons (I'm thinking ancient Egypt). This was dangerous. The next innovation was to transfer that "super-dominance" to a person who doesn't actually exist. This is safer, and of course this imaginary personage can embody all those ideas an actual human can only move towards but never attain. Although wars were still fought in the name of a God, there was a separation. That's a theory of mine anyway. Feel free to poke holes, build it up, tear it down (esp with evidence).