W.l.o.g. we may assume that $G$ is simply connected (or just it is a disk).
Let $u(x,z)=\frac{\partial f}{\partial z}(x,z)$ and $v(x,z)=\frac{\partial^2 u}{\partial z^2}(x,z)$, and
define
$$
U(z) = \int_X u(x,z) d\mu(x), \qquad
V(z) = \int_X v(x,z) d\mu(x).
$$
The function $u(x,z)=\lim\frac{f(x,z+1/n)-f(x,z)}{1/n}$, being limit of measurable functions, is $\mu$-measurabe for every fixed $z$. By Cauchy's estimates, if $B(z,r)\subset G$ then $\big|u(x,z)\big|\le\frac{g(x)}{r}$, so $U(z)$ is well-defined. Similary, $v$ is $\mu$-measurable and $\big|v(x,z)\big|<\frac{2g(x)}{r^2}$, so $V$ is well-defined.
We show that $F$ is an integral function of $U$, and $U$ is an integral function of $V$; that is, for any line segment $[a,b]\subset G$,
$$
\int_{[a,b]} U(z) dz = F(b)-F(a)
\quad\text{and}\quad
\int_{[a,b]} V(z) dz = U(b)-U(a). \tag{*}
$$
This imply that $U$ is continuous, and then $F'=U$.
It suffices to prove one part from (*), say $\int_{[a,b]} V(z) dz = U(b)-U(a)$.
Suppose that the integral does not exist or is not equal to $U(b)-U(a)$.
Then there exists some $\varepsilon>0$ such that for every $n$, the segment $[a,b]$ can be subdivided into some segments $[z^{n}_0,z^{n}_1],\ldots,[z^{n}_{N_n-1},z^{n}_{N_n}]$ with $|z^{n}_k-z^{n}_{k-1}|<\frac1n$, and some sample points $\xi^{n}_k\in[z_{k-1},z_k]$ can be selected such that
$$ \left|\sum_{k=1}^{N_n} V(\xi^{n}_k)(z^{n}_k-z^{n}_{k-1})
-(U(b)-U(a))\right| \ge\varepsilon . \tag{**}$$
For every fixed $x\in X$ we have
$$ \lim_{n\to\infty}\sum_{k=1}^{N_n} v(x,\xi^{n}_k)(z^{n}_k-z^{n}_{k-1}) =
\int_{[a,b]} v(x,z) \mathrm{d}z = u(b)-u(a). $$
Let $r$ be the distance between the segment $[a,b]$ and the complement of $G$. Then
$$
\left|\sum_{k=1}^{N_n} v(x,\xi^{n}_k)(z^{n}_k-z^{n}_{k-1})\right| \le \frac{2g(x)}{r^2} \cdot |b-a|
$$
So, by the dominated convergence theorem,
$$
\lim_{n\to\infty} \sum_{k=1}^{N_n} V(\xi^{n}_k)(z^{n}_k-z^{n}_{k-1}) =
\lim_{n\to\infty} \sum_{k=1}^{N_n} \int_X v(x,\xi^{n}_k)(z^{n}_k-z^{n}_{k-1})d\mu(x) =\\=
\int_X \lim_{n\to\infty} \sum_{k=1}^{N_n} v(x,\xi^{n}_k)(z^{n}_k-z^{n}_{k-1})d\mu(x) =
\int_X (u(x,b)-u(x,a)) d\mu(x) = U(b)-U(a).
$$
That contradicts (**), done.
$F'=U$ shows that the function $F(z)=\int_X f(x,z)d\mu(x)$ is holomorphic and $F'(z)=\int_X u(x,z)d\mu(x)=\int_X \frac{\partial f(x,z)}{\partial z}d\mu(x)$.