After Moses spent forty days and nights on the mountain, he gave the people the requirements God had told him to say to the Israelites:
All Scripture is quoted from the King James translation unless otherwise noted.
Exodus 19:3 And Moses went up unto God, and the LORD called unto him out of the mountain, saying, Thus shalt thou say to the house of Jacob, and tell the children of Israel;
In the chapters between 19 and 25 are the laws God gave Moses, but in chapter 25,God in giving Moses instructions on building the Tabernacle said:
Exodus 25:8 and 9 And let them make me a sanctuary; that I may dwell among them. According to all that I shew thee, after the pattern of the tabernacle, and the pattern of all the instruments thereof, even so shall ye make it.
according to that Scripture God showed Moses some visions, and also;
Exodus 25:40 And look that thou make them after their pattern, which was shewed thee in the mount.
If I am reading the Scriptures correctly God not only told Moses what to tell the Israelites to do, but also gave him visions of exactly how the Tabernacle and its furnishings should be made.
Did God also give Moses visions of History which he then recorded in Genesis?