git log -S finds when a string appeared or vanished
git blame tells you who last touched a line. git log -S lists every commit where the number of times a string appears changed, and that's really what "when did this constant become 30" is asking.
git log -S "MAX_RETRIES" --oneline -- src/Add -p to see the diffs. It's the quickest archaeology tool git has.
git