Harness Code Repository Connectors connect your Harness account with your Git platform. Connectors are used to pull important files from your code source.
This video will explain how to add git connector to the Project scope. The process is the same for Org and Account.
Harness Connectors: Connect to a Git Repo
https://docs.harness.io/article/zbhehjzsnv-connect-to-code-repo
Creating a personal access token
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
Authorizing a personal access token for use with SAML single sign-on
https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on