Installing a specific snapshot version of Openhab

At this moment the last snapshot (2.4.0 build 1399 or 1400) gives me troubles, as I explained in Problem with Anel HUT in latest snapshot (openHAB 2.4.0 Build #1399)

The version I do have installed instead, openHAB 2.3.0 Build #1260 works, yet gives problems with Fronius crashing from time to time.
(everything else seems to keep working)

I know that the fix I need was done on the fronius code on 22 July

And on 17 September another null point fix was done on the fronius code

I know how to do a install of a specific Openhab version

sudo apt-get install openhab2=2.3.0-1
sudo apt-get install openhab2-addons=2.3.0-1
sudo apt-get install openhab2-addons-legacy=2.3.0-1

What I don’t know, is how to find out what snapshot version the code of 22 July or 17 September is in.

And next to that, what is the format to call in apt-get to install that snapshot version.

(I tried openhab2=2.4.0-1399 to try that snapshot, that was wrong. )

I think this was answered here: