I just started physics II (electricity and magnetism) and in learning about Gauss's Law, I came across this definition on Wikipedia: $$\Phi_E=c\oint_{S}F^{\kappa0}\sqrt{-g}\ dS_{\kappa}$$ Where $c$ is the speed of light, $F^{\mu\nu}$ is the electromagnetic field tensor $$F^{\mu\nu}= \begin{bmatrix} 0 & -E_{x}/c & -E_{y}/c & -E_{z}/c \\ E_{x}/c & 0 & -B_{z} & B_{y} \\ E_{y}/c & B_{z} & 0 & -B_{x} \\ E_{z}/c & -B_{y} & B_{x} & 0 \end{bmatrix}$$ and $g$ is the determinant of the metric tensor $g_{ij}$. Below the statement of the formula the article explains the $dS_{\kappa}$ term, which I am unfamiliar with. I am assuming this is a differential form that is also a tensor, but I'm not sure. $$dS_{\kappa}=dS^{ij}=dx^{i}dx^{j}$$ From what I understand about tensors, $F^{\kappa0}$ is just the first column of $F^{\mu\nu}$ since the zero in the second index holds the column constant. $$F^{\kappa0}=\begin{bmatrix} 0 \\ E_{x}/c \\ E_{y}/c \\ E_{z}/c \end{bmatrix}$$ Going back to the initial integral, it seems like the shared index kappa implies using Einstein notation for $F^{\kappa0}$ and $dS_{\kappa}$. $$F^{\kappa0}dS_{\kappa}=\sum_{m=0}^{3}{F^{m0}dS_{m}} =F^{00}dS_{0}+F^{10}dS_{1}+F^{20}dS_{2}+F^{30}dS_{3}$$
Which would mean $$cF^{\kappa0}dS_{\kappa}=(0)dS_{0}+E_{x}dS_{1}+E_{y}dS_{2}+E_{z}dS_{3}$$ Someone on math stack exchange clarified the notation because I thought the $E_{x},E_{y},E_{z}$ terms denoted partial derivatives, but apparently these are just the components of $\vec{E}$.
If that is the case and $F^{\kappa0}=(E^{0},\vec{E})$, $dS_{\kappa} = (dS_{0}, d\vec{S})$ the above looks like $\vec{E}$ dotted with $d\vec{S}$
i.e. $$cF^{\kappa0}dS_{\kappa}=\vec{E}\cdot d\vec{S}$$ Which would mean that the initial definition of $\Phi_{E}$ can be re-written as $$c\oint_{S}\sqrt{-g}F^{\kappa0}dS_{\kappa}=\oint_{S}\sqrt{-g}\vec{E}\cdot d\vec{S}$$
I have almost no experience with tensors so I was wondering if this is what is implied by this definition of Gauss's law, but this definition is just more general. Maybe this is obvious but I'm not sure. I'm also curious about a few things, namely:
Why is $g$ negative under the root?
Is $\sqrt{-g}$ functioning in a similar way to the determinant of the Jacobian, used for integrating in a change of coordinates?
What exactly is the differential $dS_{\kappa}$?
I'm also curious what I can look into to learn more about this as I find it pretty interesting. Thanks for any responses.