title: How do I clone a repository that includes Git LFS files?
body: <p>On my Ubuntu system, I installed Git LFS as well as Git, and cloned a repo that has some of its files managed by Git LFS. But those files didn't download, other than a marker file. (I didn't realize they weren't the whole file until I checked the file size, because they displayed in my file system with the right names, in the right places.)</p>
  
  <p>I see from <a href="https://stackoverflow.com/a/48406866/338638">this answer</a> that <code>git lfs clone</code> has been deprecated, and simply <code>git clone</code> should work. But when I tried that I got confused. I am used to just running <code>git clone https://foobar.git</code> and letting it set up the directory. But Git LFS won't work unless it has been initialized with <code>git lfs install</code> in each directory where it is being used. (That's why this didn't work the first time, at least now I know that.)</p>
  
  <p>So I set up the directory, ran <code>git init</code> and <code>git lfs install</code> inside it, and then ran <code>git clone https://foobar.git</code>. Which will create a directory for the repo nested inside the directory I created, will it not? That seems wrong somehow. </p>
  
  <p>It is going to take a few hours to clone this repo, so I would like to be confident I'm doing this right. Looking at the <a href="https://github.com/git-lfs/git-lfs/wiki/Tutorial" rel="noreferrer">documentation on GitHub</a>, it seems to say the above set of commands is correct - if you read the whole thing. The bits of information are separated by a thousand words or so. Is that the way to do it?</p>