Prepare Raspbian 8GB image with git, first

without time zone:
sudo apt -y update && sudo apt -y dist-upgrade && sudo apt -y update && sudo apt -y install git && sudo rpi-update && sudo poweroff
with time zone
sudo apt-get update -y && sudo apt-get dist-upgrade -y && sudo apt-get update -y && sudo apt-get install git -y && sudo cp /usr/share/zoneinfo/Etc/GMT-3 /etc/localtime && sudo rpi-update && sudo su
echo "gpu_mem=16" >> /boot/config.txt
poweroff