How to run existing Terraform from CI/CD

Replace this template with your information

Describe your question in as much detail as possible:
Hello,
I am new to Gitlab and trying to figure out the following things:

  1. How to run existing Terraform workspace from CI/CD pipeline?
  2. Currently, our code is in GitHub. How to sync/mirror with GitLab repo?