Create a new branch and check it out.
public checkOutNew ( string $name, string | null $parent = null, string | null $upstream = null, string | null $dir = null, boolean $mustRun = false ) : boolean | ||
$name | string | |
$parent | string | null | |
$upstream | string | null | |
$dir | string | null | The path to a Git repository. |
$mustRun | boolean | Enable exceptions if the Git command fails. |
return | boolean |