Involved in the biosynthesis of galactosamine-containing minor teichoic acid, a non-essential cell wall polymer in B.subtilis 168. Cell wall biogenesis; poly(glucopyranosyl N-acetylgalactosamine 1-phosphate) teichoic acid biosynthesis. Belongs to the glycosyltransferase 2 family.