When someone asks whether a fix made it into 2.3 or only into 2.4, there is no need to read changelogs. Git can answer it from the commit hash.
git tag --contains a1b2c3d
This lists every tag whose history includes the commit. If your releases are tagged, the oldest tag in the list is the first release with the fix. The same option exists for branches:
git branch --contains a1b2c3d
git branch -r --contains a1b2c3d
The first shows local branches, the second remote ones, which I think is the quickest way to check whether a hotfix also landed on the release branch.
To get just the first release, sort by version and take one line:
git tag --contains a1b2c3d --sort=v:refname | head -1
Without the sort, git lists tags alphabetically, so v1.10 comes before v1.9.
This only works for the exact commit. If the fix was cherry-picked to a release branch, that copy has another hash and --contains won’t see it. Search for the commit message instead, or look for the “cherry picked from commit” line that git cherry-pick -x adds. Also run git fetch --tags first, otherwise tags from the server that you never fetched are missing from the answer.
Further reading: git-tag documentation, git-branch documentation