Technically the Bible doesn’t say if God did or didn’t tell Eden in conversations not recorded. We don’t know. When being tempted by the serpent, she certainly knew about the Tree and the ramifications of eating from it. So Eve heard it from someone, either God or Adam.
She did add the phrase “neither shall ye touch it lest ye die” which some have suggested was a corruption of God’s literal command to Adam to merely “not eat of the tree”, which may show humanity’s tendency to over think and add extra prohibitions than what are needed to sensibly and faithfully follow Godly laws.
I don’t know; we only know God told Adam “not to eat of the tree” and somehow Eve knew that she wasn’t supposed to eat of tree. How she came to add the phrase “neither shall ye touch it lest ye die” is a back story we can only speculate about.
Yet the Bible tells us eve was received by satan. Adam was not and willfully sinned