asGit

Casts this HarnessSkill as a Git and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessSkillGitSource value. Throws an exception if the HarnessSkill is not a Git.