public function createBranch($branch)
    {
        $cmd = 'cd %s && git checkout -b %s && git add .';
        $this->systemLog(sprintf($cmd, $this->projectPath, $branch));
    }
public function createBranch($branch)
    {
        $cmd = 'cd %s && git checkout -b %s && git add .';
        $this->systemLog(sprintf($cmd, $this->projectPath, $branch));
    }
public function createBranch ( $ branch ) { $ cmd = 'cd %s && git checkout -b %s && git add .' ; $ this -> systemLog ( sprintf ( $ cmd , $ this -> projectPath , $ branch ) ) ; }
Create a local branch

@param string $branch
Create a local branch