$G$-subgradient extragradient method