title: Why is the `git subtree` not working even though I have git 1.8.3.2 installed on Ubuntu 12.10?
body: <p>I am about to deploy my AngularJS based static site as a Github Page with Yeoman. Step 3 of the deployment instructions tell me to do</p>
  
  <p><code>git subtree push --prefix dist origin gh-pages</code></p>
  
  <p>but when I enter that I get </p>
  
  <p><code>git: 'subtree' is not a git command. See 'git --help'.</code></p>
  
  <p>This <a href="https://stackoverflow.com/questions/14409639/unable-to-update-git-on-ubuntu/17312327#17312327">SO answer provided me instructions</a> on how to upgrade to the latest git-core and ensure it  always get upgraded to the latest stable release. </p>
  
  <pre><code>sudo add-apt-repository ppa:git-core/ppa
  sudo apt-get update
  sudo apt-get install git
  </code></pre>
  
  <p>After running those commands I did <code>git --version</code> to make sure I had the latest version and apparently I did since <code>git version 1.8.3.2</code> was the output. Now when I tried running </p>
  
  <p><code>git subtree push --prefix dist origin gh-pages</code> </p>
  
  <p>again I still got the same following error </p>
  
  <p><code>git: 'subtree' is not a git command. See 'git --help'.</code> </p>
  
  <p>Finally I just restarted Ubuntu 12.10 and tried to run the command again but once again, I got the same error. </p>
  
  <p><strong>How come the <code>git subtree</code> command is still not working even though I have upgraded to the current stable release?</strong></p>