package 'git' has no installation candidate code example
Example: package 'git' has no installation candidate
sudo apt-get update && sudo dpkg --configure -a
sudo apt install git
sudo apt-get update && sudo dpkg --configure -a
sudo apt install git