You should edit your sources.list , by adding the following line: deb http://ftp.ca.debian.org/debian/ jessie main contrib Then upgrade your package and install git: apt-get update && apt-get upgrade && apt-get dist-upgrade apt-get -f install apt-get install git nJoy 😉
Installing git on Debian 8.x
Posted on