title: How to copy only one file from a GitHub repository to local machine?
body: <p>I have a repository on GitHub which has the code of a project that I am working on. </p>
  
  <p>While working, I deleted a file from my local machine. So, now I want to copy the file from my GitHub repository to my local machine.</p>
  
  <p>Initially I thought I should <code>clone</code> the repository and then copy the required file locally in my machine. </p>
  
  <p>But is there a way to get only one file without having to clone the entire repository? Preferably from the command line ? (just like how we <code>clone</code> from CLI using  <code>git clone ...</code>)</p>