#This is the interpretation of it

"Here is what the dream means"

#The three branches are three days

"The three branches represent three days"

#Within three days

"In three more days"

#will raise your head

Here Joseph speaks of Pharaoh releasing the cupbearer from prison as if Pharaoh were causing him to raise his head. AT: "will release you from prison" (See: [[:en:ta:vol1:translate:figs_metaphor]])

#and restore you to your office

"and will give you back your job"

#just as when

The missing words may be added. AT: "just as you did when" (See: [[:en:ta:vol2:translate:figs_ellipsis]])