title: Command "git lfs pull origin" returned status code 1; stderr: git: 'lfs' is not a git command
body: <p>Installed the git-lfs on our mac slaves and followed the artical at <a href="https://medium.com/@priya_talreja/git-lfs-setup-in-jenkins-ee80879007e3" rel="nofollow noreferrer">https://medium.com/@priya_talreja/git-lfs-setup-in-jenkins-ee80879007e3</a>. to build jenkins job</p>
  <p>we are getting the following error:</p>
  <pre><code>Git LFS initialized.     
  xxxx
  xxxx
  xxxx
  Enabling Git LFS pull
   &gt; git config core.sparsecheckout # timeout=10
   &gt; git checkout -f 94723c3732a48a49f41a70248233e52b015632cb # timeout=10
   &gt; git config --get remote.origin.url # timeout=10
   &gt; git lfs pull origin # timeout=10
  FATAL: Could not checkout 94723c3732a48a49f41a70248233e52b015632cb
  hudson.plugins.git.GitException: Command &quot;git lfs pull origin&quot; returned status code 1:
  stdout: 
  stderr: git: 'lfs' is not a git command. See 'git --help'. 
  </code></pre>
  <p>out of 4 nodes, one node is working others are not. [Mac OS X; Version: 10.14.6]
  git versions : 2.22.0 / 2.21.0 /2.23.0 [Error getting on ver: 2.22.0 and 2.23.0]
  git-lfs version: 2.11.0</p>