title: This repository is configured for Git LFS but 'git-lfs' was not found on your path
body: <p>Please help me understand what the below error message means and how to comply with its request.</p>
  
  <p>I want to copy an existing local git repo; then push that copy to a newly created remote.</p>
  
  <p>But I get the following error:</p>
  
  <blockquote>
    <p>This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.</p>
  </blockquote>
  
  <p>The code I used immediately prior to getting this message is:</p>
  
  <pre><code># create new git repo at https://github.com/username/foo-bar.git
  cp -r OldProject/ NewProject/
  cd NewProject/
  git remote remove origin # Remove prior origin from copy operation
  git init
  git remote add origin https://github.com/username/foo-bar.git
  git add -A
  git commit -m "first commit"
  git push -u origin master
  </code></pre>
  
  <p>What am I doing wrong and how can I fix it? Please help me understand what the above error message means and how to comply with its request.</p>