Jesus knew it to be true, and according to the Bible he was there for the creation, the world was created by him and for him, and he gave Adam and Eve as an example of the institution of marriage, and his lineage is traced back to Adam in the NT. I believe the whole Bible is the Word of God who cannot lie. Romans says that by the disobedience of one man, Adam, many were made sinners, but by the obedience of one man, Jesus Christ, many are made rigbteous. This is the central theme to the Bible, the fall of man and the redemtion through Jesus Christ our Lord.
I don't think Jesus knew anything of the sort he just accepted the story the same as the rest of the Jews did. I don't think Jesus had anymore knowledge than was available to people of his time!