Purge package git
Improve the detection of the git already installed

Until now only installs git if no other version is installed and now it installs the versionyou want.