Project Dragon Fruit – Part 4: Cloning.

  • by

Hi Guys, Jacob here again.

  • In Part 1 we looked at the basics of using trello for project management.
  • In Part 2 we looked at creating tickets and epics in Trello
  • In Part 3 we created our Repository

Now that we have your repository set up and ready for your code, let’s learn how to use it. The first thing you will need to do is clone a copy of your repo. This means taking a copy of it from GitHub and putting it on your computer, so that you can edit it. There are a few ways to do this and you can find them under the green “code” button at the top right of your files list:

There are six options for cloning the repo. The top three options: HTTPS, SSH, and GitHub CLI will give you links or commands that you can run, either within a project or on the command line. This is a higher level than we need to look at for the moment so we will be taking a look at the other options to start.

We are going to start with the bottom option in the list, which doesn’t require you to have access to any other software.

If you click of the “Download ZIP” option then it will do exactly that: it will ZIP together all the files in your repo and send them to your downloads. 


From here you can open the files in whichever IDE you are using and work on them.

The next option that we are going to look at will require you to have a copy of Visual Studio installed on your machine. Visual Studio is Microsofts official IDE and there are a number of versions available. The community one is free. If you click on options for opening with Visual Studio then you should get a pop up to let you know that it is trying access the version selector so that it can access your version of the program:

If you accept this then it will launch your version of Visual Studio and ask you to create the repository:

Then you just need to click clone and it should copy across the files to the location that you specified in the “path” field:

The final option that we are going to look at for cloning your repository is the “open with GitHub Desktop. This requires you to install the GitHub desktop program which is a free piece of software from GitHub which allows you to see and maintain your repositories both locally and online. It allows you to maintain you repos without needing to have both the web page and your local files open.

This will give you a pop up asking you to allow GitHub access to open the program for you:

This will then pop up with a screen similar to the one in Visual Studio asking you for the repo path and where you want to save it:

Cloning this will show you the GitHub Desktop page for your repo showing you any current changes between your local files compared to those you have committed to GitHub.

This will give you some options such as opening the file in your IDE, opening them in file explorer, and opening the relating GitHub web page.

Now that you have a local copy of your repo, we can look at creating a branch, which is a further copy of the code that you can edit without over-writing the original until the new code has been tested. We will looking at this next time, followed by committing the changes of that branch and creating a “pull request” to merge those changes into the main code.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.