public function createFile($file_path, $content, $branch_name, $commit_message) { $data = $this->api('repo')->createFile($this->id, $file_path, $content, $branch_name, $commit_message); return File::fromArray($this->getClient(), $this, $data); }