An Introduction to Git & GitHub: Git and GitHub Tutorial Part 1

What is Git

Git is the most popular open source version control system (VCS) or source control management system (SCM) available as of today. SCM and VCS means the same thing.

Who uses Git

Source control management allows developers, designers, freelancers etc to backup their source code and other documents or artifacts so that different versions of their document exists as created at different points of time.

An artifact can be a file, binary or text or even a directory.

Why Git

Following are the reasons why you should choose Git as your preferred version control system

  • Git helps us to create repositories: A repository is a folder or directory where data is stored and maintained in an organized manner.
  • Git maintains different versions Of Artifacts: Git stores and maintains different versions of an artifact during it’s lifetime including creation and multiple modifications of the artifact.
  • Git manages changes in artifacts:
    • Git allows the user to undo a current change in an artifact
    • Git also allows restoration of previous state of an artifact 
  • Git can compare between different artifacts: Git also allows us to compare different versions of a particular artifact. Let’s say you have a file called “abc.txt” and it has 2 different versions; version 1 when you created it and version 2 when you modified it for the first time. Git will allow us to compare and inspect the differences between version 1 and version 2 of “abc.txt”.
  • Git promotes collaboration among developers: Git allows collaboration among developers so that, they can share a common code base for development purposes.
  • Git improves Accountability for all stakeholders: Git allows us to track all users and the exact changes that they have made – this makes everyone accountable for the changes in the shared code base.

What is GitHub and why we should use it

  • GitHub, a web-based Git repository hosting service: GitHub is a code hosting platform for collaboration and Git based version control. GitHub lets you and others work together on projects.
  • GitHub is the largest hosted Git repository: GitHub reportedly has over 56 million users and millions of repositories, making it the largest host of source code in the world. GitHub hosts private & public repositories and allows both free and paid plans to host open-source & propietary software projects
  • GitHub was born on 2008: The site was launched in April 2008 by Tom Preston-Werner, Chris Wanstrath, and PJ Hyett
  • Other features of GitHub: Documentation, Bug tracking , Issue tracking, Wikis

What’s next?

Hope you enjoyed this article. Please read the next article in the Git & GitHub Tutorial series.

Watch the related video for this article

Enroll in this FREE Course

Bibhash Roy

Bibhash Roy

Bibhash is a hardened Software Developer and Professional turned entrepreneur with more than two decades of rich industrial experience in Sotware Engineering & Architecting. However, he is passionate about teaching whatever he has learned in his career spanning an array of prestigious stints at large multinational Software Giants.

About Us

GoKoders is the ultimate resource to learn Programming, Spring Framework & Spring Boot, Devops and Machine Learning that can help you to build mission critical Applications.

Subscribe to our Newsletter

Recent Posts


Follow Us

Weekly Tutorial

Sign up for our Newsletter

Want to build a rock solid foundation in Git & GitHub?
Enroll in this FREE Course

Git & GitHub For Complete Beginners

Want to build a rock solid foundation in Git & GitHub?

Enroll in this FREE Course

Git & GitHub For Complete Beginners