owner of the repo
name of the repo
CreateBranchRepoOption options when creating a branch in a repository
Name of the branch to create
Name of the old branch to create from
Name of the old branch/tag/commit to create from
Branch
Branch represents a repository branch
PayloadCommit represents a commit
EffectiveBranchProtectionName is the name of the effective branch protection rule
EnableStatusCheck indicates if status checks are enabled
Name is the branch name
Protected indicates if the branch is protected
RequiredApprovals is the number of required approvals for pull requests
StatusCheckContexts contains the list of required status check contexts
UserCanMerge indicates if the current user can merge to this branch
UserCanPush indicates if the current user can push to this branch