Freestyle · Capability
Freestyle Git API — Branches
Freestyle Git API branches surface. 3 operations. Lead operation: List Branches in a Repo. Self-contained Naftiko capability for one Freestyle business surface.
Freestyle Git API — Branches is a Naftiko capability published by Freestyle, one of 30 capabilities the APIs.io network indexes for this provider. It bundles 3 operations across the GET and POST methods rooted at /v1/git/v1/repo/{…}/git/refs/heads.
The capability includes 2 read-only operations and 1 state-changing operation. Lead operation: List Branches in a Repo. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.
Tagged areas include Freestyle, Git, and Branches.
What You Can Do
GET
Handle list branches
— List Branches in a Repo
/v1/git/v1/repo/{repo}/git/refs/heads/
POST
Handle create branch
— Create a New Branch
/v1/git/v1/repo/{repo}/git/refs/heads/{*branch}
GET
Handle get ref branch
— Get a Branch Reference
/v1/git/v1/repo/{repo}/git/refs/heads/{branch}
MCP Tools
freestyle-handle-list-branches
List Branches in a Repo
read-only
idempotent
freestyle-handle-create-branch
Create a New Branch
freestyle-handle-get-ref-branch
Get a Branch Reference
read-only
idempotent