title: Cannot checkout a file with Git LFS: `unknown command "post-checkout" for "git-lfs"`
body: <p>When I do the following command while on a feature branch:</p>
  
  <pre><code>git checkout origin/master foo.js
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>$ git checkout origin/master foo.js
  Error: unknown command "post-checkout" for "git-lfs"
  Run 'git-lfs --help' for usage.
  </code></pre>
  
  <p>Why is this happening and how do I fix this issue?</p>
  
  <p><strong>Update</strong>
  From this question: <a href="https://stackoverflow.com/questions/43743717/cannot-use-older-version-of-git-lfs-on-a-repo-created-using-latest-version">Cannot use older version of git-lfs on a repo created using latest version</a> it seems like it may be that I am using an older version of Git-LFS on the master branch compared to the feature branch (I may be wrong). </p>
  
  <p>How can I check which version of GIT-LFS is being used for this feature branch?</p>