The person we know as Jesus in the New Testament. before Jesus became true human flesh He existed in spirit and could appear in human form as a theophany / Christophany and did through the Old Testament.
Whenever someone received a visit from “the angel of the Lord,” this was in fact the pre-incarnate Christ. Genesis 16:7-14; Genesis 22:11-18; Judges 5:23; 2 Kings 19:35;
So Genesis 3 you see God (Jesus) walking 3:8 And they heard the sound of the Lord God walking in the garden in the cool of the day, and Adam and his wife hid themselves from the presence of the Lord God among the trees of the garden.
in Genesis 2:8 God planted a garden and it showes He was a actual presence there
2:8 The Lord God planted a garden eastward in Eden, and there He put the man whom He had formed.
little known but excellent book on the subject.
https://www.amazon.com/Christ-Old-Testament-appearances-Human/dp/1845506278