update git in ubuntu code example
Example 1: how to update ubuntu
sudo apt update && sudo apt upgrade -y
Example 2: git update on linux
apt-get update
apt-get upgrade
apt-get install git
sudo apt update && sudo apt upgrade -y
apt-get update
apt-get upgrade
apt-get install git