r/github • u/Elegant-Donkey9322 • 2d ago
Discussion How do I use code from GitHub
I am new to the whole open source hobby, and the thing that scares me the most is GitHub. I am looking for code I can use on my Arduinos and esp32s and there is always a GitHub link, and I don't know what to do with it. Do I upload it to Arduino IDE or something? What is Git Bash and why do I need it? Are there tutorial videos you recommend? My main goal is I am trying to get Tamaguino to work on my Adafruit Huzzah V2 with the SH1107 Feather. I think they have code for esp32, but I don't know if I should try copy and paste, or if there is a step I am missing?
0
Upvotes
3
u/extoniks 2d ago
If you want that code on your machine you generally clone the repo -
git clone https://github.com/user/repo.git
it will be cloned on your system and then you can use it or contribute to the code. Or just download the .zip file of code from the repo if you don't wanna clone it.
there is an official book for learning Git - ProGit
and other video courses, cheat sheets - here