The branch the working tree sits on and the upstream it diverged from (host BranchInfo, §15.1). null until the user is on a immediately.run-created branch. upstreamPushable is null while push access is still being probed.

interface VcsBranch {
    name: string;
    parentCommitSha: string;
    parentRef: string;
    parentRepo: string;
    upstreamPushable: null | boolean;
}

Properties

name: string
parentCommitSha: string
parentRef: string
parentRepo: string
upstreamPushable: null | boolean