If I remember correctly this is high school material; I feel ashamed that I can't solve this now.
Lengths of a triangle's sides determine its angles; but how to compute these angles?
On
I'm not a massive fan of the use of $\gamma$ in the question, comment & answer.
To me, with the following image, although it is poorly drawn, is much easier to remember the cosine rule. It is a high-school formula after all!
We have that:
$$A^2=B^2+C^2-2BC\cos(a)\to a=\arccos\bigg(\frac{B^2+C^2-A^2}{2BC}\bigg)$$
$$B^2=A^2+C^2-2AC\cos(b)\to b=\arccos\bigg(\frac{A^2+C^2-B^2}{2AC}\bigg)$$
$$C^2=A^2+B^2-2AB\cos(c)\to c=\arccos\bigg(\frac{A^2+B^2-C^2}{2AB}\bigg)$$

No, @ajotatxe, it's not the law of sine, it's rather the law of cosine $$c^2=a^2+b^2-2\ a\ b\ \cos(\gamma)$$ (which clearly can be solved for $cos(\gamma)$, and thus for $\gamma$.
--- rk