git_checkout
Switch to an existing branch or restore files from a branch in your Git repository. Optionally create a new branch or force checkout to discard local changes.
Instructions
Switch branches or restore working tree files
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name to checkout | |
| create | No | Create a new branch | |
| force | No | Force checkout (discard local changes) | |
| path | No | Repository path (optional, defaults to current directory) |