title: VS Code how to use github with existing local project
body: <p>I have a local project in C:\ABC folder, just realize it's time to back it up to GitHub. This is what I did:</p>
  <ol>
  <li>Log on to GitHub, created a new project (repository or whatever you
  can call).</li>
  <li>Copy the URL.</li>
  <li>Back to VS Code, install GitHub extension.</li>
  <li>Go Welcome page, click on &quot;Clone Git repository...&quot;. Paste the URL
  for &quot;Repository URL&quot;. Enter my local path C:\ABC, .</li>
  </ol>
  <blockquote>
  <p>Error Git: fatal: destination path &quot;C:\ABC&quot; already exists and is not
  an empty directory.</p>
  </blockquote>
  <p>I understand it tried to fetch from GitHub to local, but what I want is the opposite. Googled found many articles and video on how to do from scratch, but not for existing local project.</p>
  <p><strong>Update of 2021-08</strong>,</p>
  <p>see <a href="https://stackoverflow.com/a/65452694/5063031">my latest step-by-step solution</a></p>