Terraform states are stored in a backend remotely in an AWS S3 bucket. This bucket is non-public, encrypted and has versioning enabled to prevent data loss.
You need to have Terraform >= 1.6 installed on your machine. You can download it from here.
You can test the Terraform code locally by running the following commands (you need a valid GitHub token):
terraform init
terraform plan
Debug modules:
terraform plan -target=module.repositories
terraform import module.repositories.module.rascal.github_repository.repo rascal
terraform import module.repositories.module.rascal.github_branch_protection.main rascal:master