When I first started coding I used to hear about Git and GitHub. What I did not know is that Git and GitHub are two different things.
Let's say if Git is coffee then GitHub is a coffee shop.
From web Developers to App Developers everyone should/must use Git & GitHub. So, let's dive deep into the topic.
What is Git?
Git is a distributed version control system that allows multiple people to work on the same codebase simultaneously. It was created by Linus Torvalds in 2005 as a way to manage the development of the Linux kernel but has since become widely used in many other projects.
Git is a popular choice for version control because it offers a number of benefits over other systems. First, it allows for easy collaboration and branching, so multiple people can work on different parts of a project without interfering with each other's work. Git also provides a full history of changes to the codebase, allowing developers to easily track down bugs or revert to previous versions if necessary. Finally, Git is open source and freely available, making it accessible to anyone who wants to use it.
Git has some key differences from other version control systems, such as SVN or Mercurial. Git is a distributed system, meaning that every developer has a complete copy of the codebase on their own machine, which allows for greater flexibility and speed. Git also uses a different approach to versioning, focusing on changes to the codebase rather than specific versions. Git is responsible for everything GitHub-related that happens locally on your computer.
Git runs locally (On your machine), history of your files is stored on a computer. By using Git you can change your own code and download others' code and you can collaborate with them. Visit this page to download and install Git to your machine.
What is GitHub?
GitHub is a place where you host your codes online. GitHub stores a copy of your local files and their revision history. It lets you and others work together on projects from anywhere. To complete this tutorial, you need a GitHub account and Internet access. You don't need to know how to code, use the command line, or install Git (the version control software that GitHub is built on).
Thanks for reading this post. Stay tuned for more.
You can find me on these platforms also.