how to uninstall git from debian linux code example Example: how to uninstall git in ubuntu 18.04 $ sudo apt-get remove --auto-remove git