Installing git

When I write"sudo apt-get install git", it shows this:

What’s your Ubuntu version? Are you using a Virtual Machine or have you installed Ubuntu directly? Have you tried sudo apt update before typing sudo apt install git? If all else fails, what’s the output of cat /etc/apt/sources.list ?