Git or GitHub? Understanding the Differences

Git or GitHub? Understanding the Differences

When I started programming, I was confused about What is GitHub, and what is GIT?

There’s a common misconception that someone could use Git or GitHub and have the same experience. But ask any developer, and they will tell you that these are two completely different entities

I use the following analogy to express the difference between git vs git hub. (I am copying it from the internet)" It's like the difference between porn and pornhub"

What is GIT?

Git is a version control system that allows developers to keep track of changes to their code over time. It was created by Linus Torvalds in 2005 to manage the development of the Linux kernel but has since become one of the most widely used version control systems in the world.

It is basically used for source code management in software development.

Now you are thinking about Why not just use A Zoom meeting and then email the other guy to update their code? I also thought like that when I started programming. Here is why software companies use GIT instead of sending emails for source code manifest.

  1. Git st supports you keep track of which changes have been attached or not, and on what branch you are on.

  2. It enables many developers to work together

    Features of GIT

    • Tracks history

    • Efficiency and Integrity

    • Free and open source

    • Supports non-linear development

    • Creates backups

    • Scalable

    • Supports collaboration

      Now that we have a basic understanding of what Git is. Let's have a look at what GitHub is

      What is GITHUB?

    • GitHub is a cloud-based hosting service that provides a web-based graphical interface. It is the world’s largest coding community. Putting a code or a project into GitHub brings it increased, widespread exposure.

    • Programmers can find source codes in many different languages and use the command-line interface, Git, to make and keep track of any changes.

      GitHub helps every team member work together on a project from any location while facilitating collaboration. You can also review previous versions created at an earlier point in time.

    • Think like this Git is a tool. GitHub is a website-based cloud repository. In short, Git is a tool like Adobe Illustrator & GitHub is a service like youtube. When you are using version control with Git, you will be dealing with two repositories:

    • Think like this Git is a tool. GitHub is a website-based cloud repository. In short, Git is a tool like Adobe Illustrator & GitHub is a service like youtube. When you are using version control with Git, you will be dealing with two repositories:

      1. Local repository, Git helps you create a local repo on your system.

      2. A central repository, GitHub helps you host your central repo on its website

    • In the above, I said that GitHub is a service like Youtube and Dailymotion is an alternative to youtube. That there are several alternatives to GitHub that offer similar functionality:

      GitHub’s Competitors

      1. Bitbucket

      2. Google Cloud Source Repositories

      3. Phabricator

      4. GitLab

      5. Gogs

      6. Gitea

      7. SourceForge

      8. AWS CodeCommit

GIT vs GitHub comparison

Thank you for reading, and let's connect!

Thank you again for your support and for being a part of this community.Feel free to connect with me on Facebook or Linkedin

Did you find this article valuable?

Support Dev Diaries By Hasanka by becoming a sponsor. Any amount is appreciated!