God is the Conscious Reality around us, and we are its Soul that helps comprise it. In this, God is Us, and We are God. The Conscious Reality has no physical sex, unless there is a giant dong and balls hanging out there in the Universe, or a giant tits and vagina somewhere in space. The Conscious Universe has no gender, as its Mind is a culmination of all Conscious', much like the Lifestream. God is as masculine/feminine as water, air, lava, electricity is.
That being said, if you focus your actions in temporary joys of physicality, then you've gathered selfish karma, which usually isn't a good thing. However, you gain selfish karmics by eating, by killing animals; even as small as bacteria, hell, even eating some types of plants, so it's really a drop in the bucket to amount of natural selfish karma you accrue in one day anyway.
It only becomes a problem when you actually act on selfish desire to turn into obsession/fetish/desire, which leads to being weighted down, which is never a good thing. However, if you manage your desires, and juggle your karmics, it evens out at the end of the day.
So Tl;Dr version.
God is the Universe, it has no sex or gender; it doesn't particularly care about wanking to Pokemon, but that path can lead to desire/obsession. Wank away, wank well, and then move forward and bless the day, and the food you've ate. Live a good and unselfish life, and try to transcend your Physical Flesh by beating out its natural desires, and its Selfish tendencies. Namaste.