Perhaps this is just an odd corner case, but we have a Moodle instance that was originally downloaded from Moodle.org which I am transitioning to managing via git (so future upgrades will be done by `git checkout $VERSION_TAG`). When I checked out the bare git repo (no files, only .git directory) then checked out the proper tag for our current version, there were numerous untracked files for all our plugins. That's fine, I can add all our plugins to the git exclude file and now it works. But githash.php is also untracked and is not a plugin-generated file, plus it would change with any version change. Should this file be in .gitignore?
Maybe it doesn't matter, because githash.php appears to only be in downloads from Moodle.org, but I found it a bit confusing why the file was in my Moodle directory but untracked by the Moodle git repo.