Kehan
KeTechy

KeTechy

#01 | Introduction To Git

#01 | Introduction To Git

Kehan's photo
Kehan
·Aug 14, 2022·

2 min read

Table of contents

  • What is Git?
  • Why use a Version Control System(VCS)?
  • What is the basic workflow of Git?
  • Why is Git called Git?

What is Git?

Git is a free and open-source version control system, which means that it is a tool for version control of project files. It mostly used by DevOps for source code management.

Why use a Version Control System(VCS)?

  • Storing Versions - Saving a project version after making changes is necessary. But without version control system, all this becomes chaotic and cumbrous.

  • Version Rollback - Being able to restore older versions of a file (or even the whole project) effectively is useful. But without version control system, this would be inefficient and compress the scope of attempts.

  • Teamwork Friendly - Most projects are difficult to be completed by one person in a short period of time, so effective teamwork is essential. Without version control system, when a project requires teamwork to be completed, it cannot maximize the efficiency of teamwork.

  • Understanding What Changed - With version control system, being able to see what exactly was changed in the file's content. This helps to have a better understanding of the project evolution between versions.

  • Backup - With version control system, especially a distributed version control system like Git, which can act as a backup. When the server crashes, it can be recovered using one of teammates' Git repository.

What is the basic workflow of Git?

The basic Git workflow goes something like this:

Untitled.png

Why is Git called Git?

Urban legend 1: Global Information Tracker

Urban legend 2: Gxddxmn Idiotic Truckload of shxt

Urban legend 3: These three letters has no special meaning. It's just because of the good pronunciation and doesn't duplicate other UNIX commands.

 
Share this