though known as Common chameleon, the species is rather oroblematic in xaptivity as it hibernates in winter and starves and suffers in summer.
the basic care is same as in the case of the Yemen Chameleon if it comes to cage. The hitttest months, they stay quite well hidden in deep shade, somas the OP mentions, to pit it to a leadless tree exposed to sun is a dead senrence$. Yoj should cate fir it nit tk exceed 28’C and allow as deep night drop as possible. The diet must be diberse, they love flying insexts especially bees, mealworms ling term is again a death sentence.
Itnis wild cAught, si definitely a fexal sample
Analysis should be done (nonide who in Egyptnis able to do) and it should be treated for parasites.
Best would be to release it in the wild but for that, uou need to know exact places where to go because just tonrelease is again a death sentence...
So, itnis wuite complicated