feat: add post-install version check for git >= 1:2.47.3
Add dpkg --compare-versions check after git installation to ensure
the installed version meets the minimum requirement of 1:2.47.3.
The build will fail with a clear error message if the git version
is too old.
Co-Authored-By: alex.s@prefect.io <ajstreed1@gmail.com>