How to import Terraform code from Google Cloud's Source Code Repository to Bitbucket?

I have Terraform code in Google Cloud Platform’s Source Code Repository and the backend file is present in Storage Bucket. There is a VM where we run Terraform and create resources in GCP in this way. So, how can I import all the repositories in the Source code repository to BitBucket without impacting the resources that are already created and that I am going to create in the future?