Aparna Soneja
Aparna Soneja

@AparnaSoneja

17 Tweets 5 reads Nov 06, 2022
Tutorial for beginners in Open source for free:
Thread 4: Basics: What is GitHub & what is the difference between Git, GitHub
What is GitHub?
- It is a Platform used for open source.
If you are new to open source, please check my thread:
- You can find source codes in many different languages and use the command-line interface, Git, to make and keep track of any changes.
So, GitHub is a Git hosting service (that means it has all features of Git+ its own features).
The attached screenshot shows how GitHub looks
- If you are not aware of Git, please check my thread on Git:
- GitHub is a GUI/ a platform used for collaboration with like-minded people.
- We can push code/project on this platform: Eg: If you have any project on your local machine (laptop/PC), you can push that on GitHub & make it publicly accessible.
- You can just copy/paste anyone’s code from GitHub which will help you in your project as well as people can also use your code to make their work easier.
So, GitHub is just a platform for interaction. You can even discuss the problems that you are facing in your project.
- Also, note, GitHub is not just for coding, you can also push your notes/videos/images/documents on GitHub & can also use other’s content as well.
So, in short, GitHub is for collaboration.
Features of GitHub:
1. Easy project management: One of the main features of Git is that different developers can work on different tasks at the same time with the help of branches.
When each of the developer completes their task, their branch/work is merged into the server.
This makes a project to be managed easily.
As GitHub is just a hosting service/platform for Git, it has the functionality of Git also, so GitHub also has easy project management.
2. Effective team management: Everyone in the team can work at same time.
3. Improved code: As GitHub is just for collaboration, many people interact with each other as well as check the code made by each other & anyone can find any bug/error or can add a new feature.
For Eg: This is one of my projects that I have on GitHub, if anyone wants the code, they can just copy the code from here, also they can go through the code, if they want anything to be changed, such as any styling changes then they can suggest me.
4. Easy code hosting: If you want to publish your project/website on Internet, you can use GitHub for hosting your project.
5. Backup of project: Whatever projects you have on your system (laptop/PC) can be deleted some day but if you push those to GitHub, it acts as backup.
Difference between Git, GitHub:
β€’ The main difference is Git uses commands (i.e. it is a command-line tool) whereas to host Git projects/repositories, you use GitHub which is a GUI. GitHub has features of Git+some of its own features as well.
β€’ Git is a software, therefore it can be installed locally on your system whereas GitHub is hosted on web, you can directly just go to github.com.
β€’ Git is a Version control system that is used to track changes in code whereas GitHub is a platform used for hosting
Conclusion:
β€’ Git & GitHub both go hand in hand.
β€’ In simple terms, Git is like the management staff of a restaurant. It keeps track of everything happening with the project & GitHub is like the interiors of a restaurant that allows one to see the progress of the project.
β€’ In simple terms, If Git is the root, GitHub is the stem that extends into one beautiful plant.
That's a wrap for this thread.
Thanks for reading !!

Loading suggestions...