@cbas
Sorry if I'm wrong, I don't have much experience with linux.
But wouldn't it be better to put final git binaries in a fixed directory, one which can be exported into PATH using release script. e.g.: $BUILD_DIR/vendor/git or $BUILD_DIR/vendor/bin