Skip to content

List Local Branches Node

Data/GitHub/Repository

List local branches and optionally cached remote branches. Fetch first to refresh remote branches.

data_github_list_local_branchesdataLong running
Inputs3
Outputs7
Security exposure5/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
5/10Medium
PrivacyPotential sensitivity of processed data.
5/10Medium
PerformanceRuntime or resource pressure.
7/10High
GovernancePolicy, audit, or compliance impact.
5/10Medium
ReliabilityOperational stability considerations.
7/10High
CostExternal or compute cost impact.
10/10High

Input Pins

3

Input

Execution
exec_in

Run the operation

Repository

Struct
repository

FlowPath to a Git working tree in local, cloud, or memory storage. Requires Git on the runtime host.

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null
Schema enforced

Include Remote

Boolean
include_remote

Include branches under refs/remotes

Default false

Output Pins

7

Success

Execution
exec_out

Operation completed

Error

Execution
error

Operation failed; inspect Error Message

Repository Path

Struct
repo_path

Repository in the original store for the next repository node

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null

Output

String
output

Git output with credentials removed

Error Message

String
error_message

Failure details, empty on success

Branches

Struct Array
branches

Branches, their commits, and upstream configuration

LocalGitBranchLocalGitBranch5 fields
namestringrequired
commitstringrequired
currentbooleanrequired
remotebooleanrequired
upstreamstringrequired

Count

Integer
count

Number of entries returned

Node Info

Internal name
data_github_list_local_branches
Category
Data/GitHub/Repository