title: Git - how to verify if and where Git is installed on Ubuntu
body: <p>I am new to Ubuntu and Git. How I can verify that I have installed git on my machine? When I tried apt-get I got:</p>
  
  <pre><code>root@ubuntu:/home/nebojsa# apt-get install git
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  git is already the newest version.
  The following packages were automatically installed and are no longer required:
    linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
    linux-headers-3.13.0-39 linux-headers-3.13.0-39-generic
    linux-headers-3.13.0-40 linux-headers-3.13.0-40-generic
    linux-headers-3.13.0-43 linux-headers-3.13.0-43-generic
    linux-image-3.13.0-24-generic linux-image-3.13.0-39-generic
    linux-image-3.13.0-40-generic linux-image-3.13.0-43-generic
    linux-image-extra-3.13.0-24-generic linux-image-extra-3.13.0-39-generic
    linux-image-extra-3.13.0-40-generic linux-image-extra-3.13.0-43-generic
  Use 'apt-get autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.
  </code></pre>
  
  <p>but I don't know where are the packages installed.</p>
  
  <p>Thanks for your help!</p>