[guided]We check the formula in coordinates because a density is determined by its coordinate coefficient and its transformation law is already built into the Riemannian volume density. Let $I \subset \mathbb{R}$ denote the time interval of the Ricci flow. Choose an arbitrary coordinate chart $(U,\varphi)$ with coordinate functions $(x_1,\dots,x_n)$. Let $\operatorname{Sym}_n(\mathbb{R})$ denote the vector space of real symmetric $n \times n$ matrices. Define the matrix of metric coefficients as the map $G: I \times U \to \operatorname{Sym}_n(\mathbb{R})$ given by
\begin{align*}
G(t,p) := \bigl(g_{ij}(t,p)\bigr)_{i,j=1}^n,
\end{align*}
where each coefficient is the function $g_{ij}: I \times U \to \mathbb{R}$ defined by
\begin{align*}
g_{ij}(t,p) := g(t)_p(\partial_{x_i}|_p,\partial_{x_j}|_p).
\end{align*}
Because $g(t)$ is a Riemannian metric, the matrix $G(t,p)$ is symmetric positive definite. In particular $\det G(t,p)>0$, so the square root of the determinant is smooth in $t$.
In this chart the Riemannian volume density has the coordinate expression
\begin{align*}
d\mu_{g(t)} = \bigl(\det G(t,p)\bigr)^{1/2}|dx_1 \wedge \cdots \wedge dx_n|.
\end{align*}
Thus the entire problem is reduced to differentiating the scalar factor $(\det G(t,p))^{1/2}$ with respect to $t$.
Define the variation coefficient map $H: I \times U \to \operatorname{Sym}_n(\mathbb{R})$ by
\begin{align*}
H(t,p) := \partial_tG(t,p) = \bigl(\partial_t g_{ij}(t,p)\bigr)_{i,j=1}^n.
\end{align*}
All time derivatives in this computation are taken for $t$ in the interior of $I$; if $I$ contains an endpoint, the same computation gives the corresponding one-sided derivative at that endpoint. We use the determinant derivative identity Jacobi's formula, for an invertible differentiable matrix path $A(t)$:
\begin{align*}
\frac{d}{dt}\det A(t) = \det A(t)\operatorname{tr}\bigl(A(t)^{-1}A'(t)\bigr).
\end{align*}
The hypotheses of this identity are satisfied with $A(t)=G(t,p)$, since $G(t,p)$ is differentiable in $t$ and invertible because it is positive definite. Hence
\begin{align*}
\partial_t\bigl(\det G(t,p)\bigr)
= \det G(t,p)\operatorname{tr}\bigl(G(t,p)^{-1}H(t,p)\bigr).
\end{align*}
Now apply the ordinary chain rule to the positive function $s_p: I \to (0,\infty)$ defined, for the fixed point $p \in U$, by $s_p(t) := \det G(t,p)$. Since $s_p(t)>0$,
\begin{align*}
\partial_t s_p(t)^{1/2}
= \frac{1}{2}s_p(t)^{-1/2}\partial_t s_p(t).
\end{align*}
Substituting $s_p(t)=\det G(t,p)$ and using the determinant derivative just obtained gives
\begin{align*}
\partial_t\bigl(\det G(t,p)\bigr)^{1/2}
= \frac{1}{2}\bigl(\det G(t,p)\bigr)^{-1/2}\partial_t\bigl(\det G(t,p)\bigr).
\end{align*}
Substituting the determinant derivative formula yields
\begin{align*}
\partial_t\bigl(\det G(t,p)\bigr)^{1/2}
= \frac{1}{2}\bigl(\det G(t,p)\bigr)^{-1/2}
\det G(t,p)\operatorname{tr}\bigl(G(t,p)^{-1}H(t,p)\bigr).
\end{align*}
Cancelling the factor $\bigl(\det G(t,p)\bigr)^{-1/2}\det G(t,p)$ gives
\begin{align*}
\partial_t\bigl(\det G(t,p)\bigr)^{1/2}
= \frac{1}{2}\bigl(\det G(t,p)\bigr)^{1/2}
\operatorname{tr}\bigl(G(t,p)^{-1}H(t,p)\bigr).
\end{align*}
The coordinate density $|dx_1 \wedge \cdots \wedge dx_n|$ does not depend on $t$, so differentiating the coordinate expression for $d\mu_{g(t)}$ gives
\begin{align*}
\partial_t d\mu_{g(t)}
= \frac{1}{2}\operatorname{tr}\bigl(G(t,p)^{-1}H(t,p)\bigr)d\mu_{g(t)}.
\end{align*}
This is the local form of the general volume variation identity.[/guided]