When I think of a conservation law I think of a continuity equation like the following
$$\partial_t \rho = -\nabla \cdot \vec j$$
But now I'm reading a book on electrodynamics (that's honestly a bit over my head) and its version of a conservation law is as an integral equation that vanishes over any closed submanifold. For instance conservation of charge is given as follows: Given the twisted charge current $3$-form $J$, then $$\oint_{C_3} J=0$$ where $C_3$ is an arbitrary closed $3$-dimensional submanifold [of our $4$-dimensional spacetime].
I'm not looking for any physical intuition, I'm just asking how does this equation imply conservation of a quantity? Is this equation equivalent to a continuity equation?
Depending on your background, the following might help:
The most elementary way to introduce the charge conservation in the relativistic context (4-dimensional spacetime) is via the 4-current $$ j^\mu = (\rho, \vec {j})$$ where $\mu=0,1,2,3$. The continuity equation then reads $$\partial_\mu j^\mu = \frac{\partial j^\mu}{\partial x^\mu} =0 \tag{1}$$ where we use the Einstein summation convention.
Borrowing from differential geometry, we can also introduce the current 3-form $J$ that can be written as $$ J= \frac{1}{3!} J_{\mu\nu\sigma} dx^\mu \wedge dx^\nu \wedge dx^\sigma$$ with the antisymmetric tensor $J_{\mu\nu\sigma}$.
The connection to the 4-current is given by the duality $$ j^\mu = \epsilon^{\mu\nu\sigma\tau} J_{\nu\sigma\tau}$$ with $\epsilon^{\mu\nu\sigma\tau}$ the completely antisymmetric pseudotensor (thus $J_{\nu\sigma\tau}$ is a twisted 3-form).
The continuity equation (1) then assumes the simple form $$ d J= 0$$ meaning that the 3-form is closed.
Now you can apply Stokes' theorem on an arbitrary region $R$ of the 4-space to obtain $$ 0 = \int_R dJ = \oint_{C} J,$$ with $C=\partial R$ the boundary of $R$.