Install apt-get: Open the command prompt Run sudo apt-get update Be more forceful (sudo apt-get -f install) if the update fails Install Git: sudo apt-get install git, and type Y when it asks to continue sudo apt-get install libnss3-dev, and type Y when it asks to continue Minimal Git configuration: