---

How to clone, modify, add, and delete files in Git

Say you already have a Git repo on GitHub and you want to get your files from it—maybe you lost the local copy on your computer or you’re working on a different computer and want access to the files in your repository. What should you do? Download your files from GitHub? Exactly! We call this “cloning” in Git terminology. (You could also download the repo as a ZIP file, but we’ll explore the clone method in this article.)

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis