John Gills Exposition of the Bible Commentary - Genesis 40:12
And Joseph said unto him, this is the interpretation of it ,.... Of the dream: the three branches are three days ; signify three days, or, as Jarchi expresses it, are a sign of three days; which Joseph could know only by divine revelation; for there is no more likeness between branches and days, than between them and months or years, and bid as fair to signify one as the other, if the interpretation depended on similarity, or bare conjecture. read more
Matthew Henry's Complete Commentary - Genesis 40:5-19
Observe, I. The special providence of God, which filled the heads of these two prisoners with unusual dreams, such as made extraordinary impressions upon them, and carried with them evidences of a divine origin, both in one night. Note, God has immediate access to the spirits of men, which he can make serviceable to his own purposes whenever he pleases, quite beyond the intention of those concerned. To him all hearts are open, and anciently he spoke not only to his own people, but to others,... read more