Can you check the gestational diabetes with HbA1c ?

No. Gestational diabetes cannot be diagnosed with an HbA1c blood test. An oral glucose tolerance test is used instead to check gestational diabetes.