Skip to main content
Glama

create_branch

Create a new branch in a Git repository to isolate code changes. Specify repository, branch name, and source reference for development work.

Instructions

Create a new branch in the repository. Use this before making code changes to work on a separate branch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository identifier (GitLab: "group/project" or ID, GitHub: "owner/repo")
nameYesName for the new branch
refYesSource branch/commit/tag to create from

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ray0907/git-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server