I am trying to prove that the stress-energy-momentum Hilbert tensor satisfies a conservation law if one assumes diffeomorphism invariance of general relativity. I have taken the definition of the SEM Hilbert tensor field to be: $$T^{\mu \nu}=\frac{-2}{\sqrt{-det(g)}}\frac{\delta(\mathcal{L}_{M}\sqrt{-det(g)})}{\delta g_{\mu \nu}}$$ $\delta_{X}S_{M}$ is the variation originating from some difffeomorphism acting on the manifold, which corresponds to some vector field $X$ in $\Gamma(TM)$. Following the calculation performed by Uldreth in this comment: https://physics.stackexchange.com/a/394031/202198
I come upon the following expression:
$$ 0=\delta_{X}S_{M} = -\int_{M} T^{\mu \nu} (\nabla_{\partial\mu} X)_{\nu} \sqrt{-det(g)}d^{4}x $$ Now, integrating it by parts, at which I fail miserably, ought to yield something resembling (I think!):
$$ 0 = \delta_{X}S_{M} = \int_{M}\text{Div(...)} + \int_{M} (\nabla_{\partial\mu} T)^{\mu \nu} X_{\nu} \sqrt{-det(g)}d^{4}x $$
The rough idea I have is to try to use some covariant Stokes-Gauss law which I cannot really recognise in my situation - and then cross the boundary terms out due to the variation vanishing there. I am not even sure what should be in the first integral - the divergence of some tensor? Perhaps multiplied by $\sqrt{-detg}$?
Could someone help me work out in detail the steps leading to the final expression? Additionally, but not necessarily, how could one formulate all of the above in coordinate-free notation, where the Stokes theorem is much easier to operate with for me?