Because the height from $G$ to $\overline{AC}$ is common to both triangles, $$\frac{Area(\triangle CGF)}{Area(\triangle AGF)}=\frac{CF}{AF}.$$ Likewise, since the height from $B$ to $\overline{AC}$ is common to both triangles, $$\frac{Area(\triangle CBF)}{Area(\triangle ABF)}=\frac{CF}{AF}.$$ Now, $$\frac{Area(\triangle BGC)}{Area(\triangle BGA)}=\frac{Area(\triangle CBF)-Area(\triangle CGF)}{Area(\triangle ABF)-Area(\triangle AGF)},$$ and because both earlier ratios are $\frac{CF}{AF}$, so is this one, which gives your desired equation.