capabilities.work

List a repository's branches

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

Look something up

List a repository's branches

with GitHub · Software Construction Management

Use GitHub: its GitHub v3 REST Repos API lets you list a repository's branches in a single step (GET /repos/{owner}/{repo}/branches). capabilities.work can help you get signed up and connected.

  • What branches exist in this repository?
  • Can I list only the protected branches of a repo?
Say it to your AI assistant
  • List the branches of {owner}/{repo}.
  • Show only branches in {owner}/{repo} where protected is {protected}.
For your developer

GET /repos/{owner}/{repo}/branches in GitHub v3 REST Repos API. Full spec on APIs.io.