CGST credit can be first used to set off CGST liability. Whatever is left can be used to set off IGST liability. It cannot be used to set off SGST liability. Please see Section 49 of the CGST Act, 2017.