The geometry of the geodesic equation in the framework of jets of submanifolds