I would assume that God pre-loaded his mind with some programming so that he wasn't confused when he first became conscious. That's a fascinating idea, that Adam's first seconds after being created might have felt familiar, even though he only began to exist in that moment. It would have to be, otherwise the sensory overload would have been crippling... seeing for the first time and taking in all of that new visual information, feeling the grass beneath him and the air and wind around him, the smells of the flowers teasing his nostrils and the sounds of any animals tickling his ears.
He would know all these things and feel comfortable, but at the same time he was a blank slate. Those first moments would be his entire existence. He would be forming his first memories right there, right then. Would he have been programmed to recognize the voice of God, and understand who He was? And geez, the conversation about that thing hanging between his legs would have been pretty awkward, because when isn't it?