Or if you don't want to make the change to a newer version of Trisquel then:
sudo add-apt-repository ppa:git-core/ppa sudo apt update sudo apt install gitBut you might also want to consider moving to Trisquel 8 to get newer versions of more than just git.
