Skip to main content
Glama

git_checkout

Switch Git branches or restore working tree files to manage version control operations within repositories.

Instructions

Switch branches or restore working tree files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchYesBranch name to checkout
createNoCreate a new branch
forceNoForce checkout (discard local changes)
pathNoRepository path (optional, defaults to current directory)

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/proofmath-owner/ai-filesystem-mcp'

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