Should be "gigagram" and "teragram," with no capitalization and no hyphen. See section 5.3 ("Unit Names") of the official SI Brochure.[0]
[0] https://www.bipm.org/documents/20126/41483022/SI-Brochure-9-...