Uninstall git To remove just git package itself from Ubuntu 14.04 execute on terminal: $ sudo apt-get remove git Uninstall git and it's dependent packages To remove the git package and any other dependant package which are no longer needed from Ubuntu Trusty. $ sudo apt-get remove --auto-remove git