git-lfs support doesn't check for nested .gitattributes files
The .gitattributes file may not be in the root folder of a repository, we should recurse when checking whether checking out of lfs binaries is required.
GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com