# Note: depends on perl
# Note: depends on zlib
# Note: depends on gettext
wget -c https://www.kernel.org/pub/software/scm/git/git-2.28.0.tar.xz
tar -xJf git-2.28.0.tar.xz
cd git-2.28.0
# git doesn't support separate build directories
if which python; then # if we have python installed, configure as usual
  ./configure --prefix="/usr"
else
  ./configure --prefix="/usr" --without-python
fi
make # Doesn't mind -j#
make install