capabilities.work

List branches in a repository

One step with Harness. We can help you get access.

Look something up

List branches in a repository

with Harness
Works with AI assistants

Use Harness: its Harness Repository API lets you list branches in a repository in a single step (GET /code/api/v1/repos/{repo_identifier}/branches). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Which branches exist in a repository?
  • Can I see pull request and check status alongside each branch?
  • Is it possible to filter a repo's branches by name?
Say it to your AI assistant
  • List all branches in repository {repo}.
  • Find branches in repo {repo} matching {text}.
For your developer

GET /code/api/v1/repos/{repo_identifier}/branches in Harness Repository API. Full spec on APIs.io.