HowTo: GitHub - How do I copy files from a Git repository to my computer 

Especially in the open source world, when looking for program code, sooner or later you will stumble across GitHub, GitLab or something similar with “Git” in the name.

Behind this are various companies/websites/organizations that ultimately all offer something similar.
All of these providers offer the opportunity to make your own software projects available online on their websites/servers and to continue working on them - even as a group.

Essentially, these are file hosters – i.e. providers that provide online storage space.
They also offer many other functions. (I can't even list them all.)
Wikis can be created, code changes can be tracked and undone, bugs (code errors) can be reported, and all of these functions are designed to make it easier for multiple people to work on the code.

GitHub and Co. are tools that you can't avoid as a software developer.
As a simple user of code, these tools often seem a bit overwhelming. All you really want to do is download the code and use it.

How you can get the code from a GitHub is described in the following article.


Open GitHub

Of course, first you have to find and open the Git repository from which you want to download code.

As an example, the ESPEasy files are downloaded here.
You can find the corresponding Git repository at https://github.com/Nerdiyde/ESPEasy


Download Git repository

The following images describe how to download the files from the Git repository.

To get to the Git files, all you have to do is click on the green “Clone or download” button at the top right and...
…then click on “Download ZIP”. The download of a ZIP file will start which contains all files from the selected repository. You can also find further information about downloads in the article Downloads/Uploads – How data comes from the Internet and disappears again.
After you have downloaded the file you can then unzip it with WinRar or WinZip. How to do this is in the article WinRar? WinZip? WinWhat? - Honey I shrunk the files described.

Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

Buy Me a Coffee at ko-fi.com       

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert

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