Skip to main content
Glama

Git Repo Browser MCP

git_checkout_branch

Switch to or create a Git branch in a specified repository. Input includes the repository path, branch name, optional starting point, and creation flag.

Instructions

Create and/or checkout a branch.

Input Schema

NameRequiredDescriptionDefault
branch_nameYesThe name of the branch to checkout
createNoWhether to create a new branch
repo_pathYesThe path to the local Git repository
start_pointNoStarting point for the branch (optional)

Input Schema (JSON Schema)

{ "properties": { "branch_name": { "description": "The name of the branch to checkout", "type": "string" }, "create": { "default": false, "description": "Whether to create a new branch", "type": "boolean" }, "repo_path": { "description": "The path to the local Git repository", "type": "string" }, "start_point": { "description": "Starting point for the branch (optional)", "type": "string" } }, "required": [ "repo_path", "branch_name" ], "type": "object" }

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/bsreeram08/git-commands-mcp'

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