Install Git package for dependency cache image
Git is needed for our Gradle Jib CI jobs to determine the time of the latest commit. The package is missing because of switching from the gradle to the eclipse-temurin image.
Regression-MR: !651 (merged)