Unfortunately, the GitLab API does not provide the tree link for commits only the diff, so it needs to be replaced in the code accordingly.
Closes CE-2711