Moses
Genesis 2:16BSB·traditional attribution

And the LORD God commanded him, “You may eat freely from every tree of the garden,

John Calvin Reformed @genevareformer

16. And the Lord God commanded Moses now teaches, that man was the governor of the world, with this exception, that he should, nevertheless, be subject to God. A law is imposed upon him in token of his subjection; for it would have made no difference to God, if he had eaten indiscriminately of any fruit he pleased. Therefore the prohibition of one tree was a test of obedience.

Matthew Henry Presbyterian @wholebiblehenry

Observe here, I. God's authority over man, as a creature that had reason and freedom of will. The Lord God commanded the man, who stood now as a public person, the father and representative of all mankind, to receive law, as he had lately received a nature, for himself and all his.

Commenting on Genesis 2:16-17

John Gill Reformed Baptist @doctorgill

And the Lord God commanded the man,.... Over whom he had power and authority; and he had a right to command him what he pleased, being his Creator, benefactor, and preserver; and this is to be understood not of man only, but of the woman also, whose creation, though related afterwards, yet was before this grant to eat of all the trees of the garden...