Introduction to Git and GitHub

What is Git?

  • Git is the most widely used distributed version control system (VCS).
  • Git is mainly used to track and manage changes done to source code during software development.
  • Git allows developers to create branches for development, to protect the code in the main branch from errors and mistakes, and to protect the stability of the project.
  • Later these branches can be merged with the main branch upon verification.
  • Also git allows multiple developers to work on the same project effortlessly without conflicts.
  • In git, the repository (Kind of a directory) that contains all the files and source-code of the project is stored locally and / or hosted on developer platforms like GitHub or GitLab.
  • Git stores data as snapshots with each commit containing a pointer to the snapshot and information about the author and previous commits.

Pages: 1 2 3 4