I am debugging a site that has lots of customizations and no good documentation on what exactly has been changed about Moodle. So I need to get the exact date-based version of unchanged Moodle to be able to compare and see what changes they've made to the code.
Now, it's easy to get a specific branch. But how would I find the exact commit in git for a specific Moodle date version, say, if it is something like
$version = 2018051700.00;(Of course in practice it would be a lot older.)
I found (and lost) an old webpage that had instructions for a git command for this, but that didn't seem to work so I assume it was for an older git version or something.