Relative Deformation Theory and Differential Geometry