Operation detail

Back to operation catalog

git.branch

Reads local git branches, current HEAD, upstream tracking, and optional remote-tracking refs.

FieldValue
Classlocal_observation
Ownersidecatd.git-effects
Input schemasidecat.git_branch_request.v0
Output schemasidecat.git_branch_response.v0

Input template

{
  "include_remotes": true,
  "repo": "/path/to/git/worktree",
  "schema": "sidecat.git_branch_request.v0"
}