Imagine we have following GitHub repository: https://github.com/pytorch/pytorch
On the right side of the page, you can see the Used by and Contributors count. Is it possible to get that information on a monthly basis, say for the past x months/years?
Working with the wayback machine doesn't seem perfect here, also because the data is incomplete, hence I wondered what mechanisms can be used to give you historical data.

You would need to call a third-party tool, month by month, in order to get that kind of activity log.
For instance: git-stats -s '1 June 2021' -u '30 June 2021'
Or:
askgitdev/askgitcan make queries, again for a given author/month, to your Git repository.