1. You can export the config in the Setting Pages, will generate a compressed file, it's not recommended to import to Github those files directly because they have secrets. It's possible to clean the secrets and import after.
2. You can build a custom connector using the Airbyte CDK to achieve your needs