IMO, if there is interior access between garage and house, attached. If not, then detached.
Equipotential yes. Foundations not attached as reason, IDK... will likely never know.I think the code requiring ground rods for an outbuildings with more than 2 circuits is due to their foundations not being connected. Equipotential?