public function create(string $message, string $tree, $parents, string $name = null, string $email = null,
                           string $date = 'now'): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/git/commits',
            $this->getGitData()->getOwner(), $this->getGitData()->getRepo()), Request::METHOD_POST, [
                'message' => $message,
                'tree'    => $tree,
                'parents' => $parents,
                'name'    => $name,
                'email'   => $email,
                'date'    => (new DateTime($date))->format(DateTime::ATOM)
            ]);
    }