I noticed the Gitlab API supports a since and until date to get commits. https://docs.gitlab.com/ce/api/commits.html The function commits in Repositories.php does not support this.