public function setBranch($branch, $sha) { $this->writeFileRelative('refs/heads/' . $branch, $sha); }