Git operations
branch
git.branch(branchName)
Checkout to provided branch.
If branch doesn’t exist - create new branch.
Parameters
branchName
string | BranchOptions
requiredSwitch to provided branch. By default creates a branch if it doesn’t exist.