The Git protocol doesn't support this, but GitHub has an HTTP API to query information about repositories hosted there.
Direct link (also read the main page about the API to see how to authenticate using an API key, if you need to access information for a private repository): https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
Example:
curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/git/git/commits?sha=master&since=2019-03-18T11:00:00Z
Side note: GitHub also offers a GraphQL API and seems to be planning to phase out the previous APIs, but its documentation is significantly less easy to understand.