public function create(array $tree, string $base_tree): array
    {
        return $this->getApi()->request($this->getApi()
                                             ->sprintf('/repos/:owner/:repo/git/trees', $this->getGitData()->getOwner(),
                                                 $this->getGitData()->getRepo()), Request::METHOD_POST, [
                'tree'      => $tree,
                'base_tree' => $base_tree
            ]);
    }