What is the relationship between Git and GitHub, and do beginners need to learn Git first? #181856
Replies: 1 comment
-
|
Git and GitHub are different, but they work together. Git is a tool on your computer that saves versions of your code, like save points shown in the numeric value of the code. GitHub is a website that stores Git projects online, like a special cloud for code. You can use Git alone, but to use GitHub well, it helps a lot to know Git. This is going to sound counterintuitive but I would recommend learning Git first, even with the command line first. When you click the “Code” button on GitHub and download projects, you start to see how files are stored, how things run, and how workflows move code from your computer to GitHub and back. This helps you learn the platform faster and understand permissions and structure. To stay safe while you learn, make a folder you control, like a folder named “GitHub” inside your home folder, and keep all your test projects there so if you break something, it only affects that folder.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m confused about the concepts of Git and GitHub and don’t know if they are independent or must be used together. As a beginner new to code management, I’m not sure if I need to learn Git commands first to use GitHub. I hope to get a plain explanation, clarify the learning sequence for beginners, and whether there are tools (like GitHub Desktop) that simplify operations.
Beta Was this translation helpful? Give feedback.
All reactions