This question concerns the expression for the induced metric in the explicit variation of the GHY boundary term. Just how is that expression derived in detail from the definition of the induced metric in this case? The expression is h = g - nn where indices have been left off.
This is pretty close to a previously-asked question. You can see my answer here: Explicit Variation of Gibbons-Hawking-York Boundary Term