Types
LocalBranch
A local branch in refs/heads, with metadata from its own tip.
object
LocalBranchFields
name
String!
Short branch name under refs/heads; remote-tracking refs are excluded.
headSha
String!
Full object ID of this local branch's commit tip.
lastCommitAt
String
ISO 8601 committer date of the local tip, or null when unknown.
lastCommitMessage
String
Subject of the local tip commit, or null when unknown.
current
Boolean!
Whether this is the registered checkout's current branch.
checkedOutPath
String
Git worktree path using this branch, or null when not checked out.