The present question refers to one of the answers of this other one.
Let $h=h_{ij}dx^i \otimes dx^j$ be a Riemannian metric.
(1) Why does the inverse $(h_{ij})^{-1}=h^{ij}$ appear here: $$\| \mathrm{d}f \|^2_h = h^{-1}(\mathrm{d}f ,\mathrm{d}f) = f_{x_i}f_{x_j}h^{ij}=\langle \nabla f , \nabla f \rangle_h ?$$
(2) Putting $f(x,t) = f(x) + t g(x)$, how can I calculate $\left. \frac{d}{dt} \right|_{t=0} \| \mathrm{d}f \|^2_h$?
Thank you in advance.