Catalysis of the reaction: sn-glycerol 3-phosphate + UDP-D-galactose = 2-(alpha-D-galactosyl)-sn-glycerol 3-phosphate + H+ + UDP.
UDP-galactose:sn-glycerol-3-phosphate-2-D-galactosyl transferase activity