UDP-alpha-D-galactose + [lipopolysaccharide] = UDP + 3-alpha-D-galactosyl-[lipopolysaccharide]. Bacterial outer membrane biogenesis; LPS core biosynthesis. Belongs to the glycosyltransferase 8 family.