If $f:M\to \bar{M}$ is a immersion, $\bar{M}$ riemannian manifold with Levi-Civita connection $\bar{\nabla}$ then, if we pull-back the metric of $\bar{M}$ to $M$, and let ${\bar{\nabla}}^\perp$ the projection on $T_pM$ of the connection $\bar{\nabla}$ then $\bar{\nabla}^{\perp}$ is the Levi-Civita connection on $M$.
I already showed that $\bar{\nabla}^{\perp}$ is a connection on $M$, how do I show that it is metric compatible?