Installing git on Debian 8.x

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 😉

Failed to run gitk: Error in startup script

Gitk is a great tool for working with Git. Unfortunately after setting up git and X11 forwarding I got this error when running gitk. The error can easily be fixed by installing dejavu-sans-fonts. yum install -y dejavu-sans-fonts The result : Voila !