git-checkout
Switch to an existing branch or create and switch to a new branch in a Git repository.
Instructions
Switches to a branch or creates and switches to a new branch
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchName | Yes | Name of the branch to switch to | |
| createNew | No | Create a new branch if it doesn't exist (default: false) | |
| directory | No | The directory to run the command in (defaults to current working directory) |