Pi-hole should match both GUI and SSH version. This is on a new installation.
GUI version at the bottom of the page shows Pi-hole version and AdminLTE version as (Upgrade Available!)
When using SSH this is what it shows
pi@PiHole:~ $ pihole -v
Pi-hole version is Untagged (Latest: v4.2.2)
AdminLTE version is Untagged (Latest: v4.2)
FTL version is v4.2.3 (Latest: v4.2.3)