Git vs Github

Monica A.
2 min readOct 10, 2021
Photo by Yancy Min on Unsplash

At some point in your journey learning to be a software developer you will come across Git and GitHub.

What are those and what is the difference between those two?

Let’s start with Git.

Git is a software that locally installed in your system, can manage source code history, has no management feature and focus on version control and code sharing.

Git is a very useful tool that developer use to manage their code while working individually and with a team.

As a type of version control system used to maintain code, Git has a few useful traits that can help developer to:

  • File tracking — every change made to code stored in a version control system is tracked, which includes edits, file movements, deletions, amendments to files and other pieces of information
  • History tracing — by creating repository in Github for example, Git will tracked and analyzed the changes made to a repository and allows developers to see the changes, when the changes made and who made the changes.
  • Branching — it allows developer to make copy of the code database and allowing them to make changes and later on merge it back to the main project when changes is ready.

Now that you know a bit about Git, let’s get to know Github.

Github is a service, it hosted on the web and work as a hosting service for Git repositories, it has a built-in user management feature and focus on centralized source code hosting.

In order to use Github, you will need Git.

These two work together and help you maintain your source code, so in case you found a bug on your code, you can always go back to the previous version when there is no bug, in the meantime you can create a branch to fixed the bug on your current version and make it work. After you clean up the bug on your current version then you can merge it back into the master file.

To be successfully use Github you need to learn some of the Git command, so Git can execute the task that you want it to do.

And if you new to Github, you can learn more about it in the Github Learning Lab.

Until next time…!

--

--

Monica A.

A dog lover with a creative mind and a passion for coding.