Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Corona Virus Stats (Covid-19)
  • Work with us
  • FB
  • LinkedIn
  • Twitter
  • Instagram.com
Tekraze

Tekraze

Dive Into Technology

  • Guides
    • Developer Guide
    • PC Guide
    • Web Guide
    • Android Guide
    • Music
    • Tutorials
  • Feed
    • Tech News
    • Shared Tech
    • Gaming Videos
    • Unboxing videos
  • Forums
    • Android Apps
    • Angular Npm Packages
    • Useful Site Links
    • Tech Queries
    • Windows OS Help
    • Web Guide and Help
    • Android Os And Rooting
    • Jhipster Discussion
    • Git & GitHub forum
    • Open Source Forum
  • Work with us
  • Toggle search form
  • India wiidens China App ban
    India widens China app ban to Baidu and Weibo Tech News
  • aspects of good gaming smartphone
    Three aspects of a good gaming smartphone Tech News
  • Phone System for small businesses shown
    Best phone systems for small businesses a handy guide Tutorials
  • The Latest Android Update Is Focused on Security
    The Latest Android Update Is Focused on Security Android Guide
  • Serey Blockchain and Trading Contest on Coinsbit Banner
    Serey Blockchain and Trading contest on Coinsbit in 2022 Tech News
  • How to Find the Right Talent for the Job
    How to Find the Right Talent for the Job with Ease Tech News
  • Microstft Dynamics 365 Cloud Tekraze
    Microsoft Dynamics 365 you need to know about Product Reviews
  • Self Driven Startups and Embedded Tech Evolving Progressively in Past Decade 1
    Self Driven Startups and Embedded Tech Evolving Progressively in Past Decade Tech News
Introduction to Git Version Control

Introduction to Git Version Control

Posted on March 29, 2022March 29, 2022 By Gaurav Raheja 2 Comments on Introduction to Git Version Control

A very good day for all of You. I welcome you all, to the tutorial on Git and GitHub. First of all, we will cover all the basics terminology associated with Git. Today we will concern only with :

  • What is Git and What is Github?
  • What is the version and Version Control System?
  • Different Types of Version Control Systems:
    • Local Version Control System
    • Centralized Version Control System
    • Distributed Version Control System

So Let’s just start:

Table of Contents

  • What is Git and What is Github?
      • Git as your safe/locker at Home
      • GitHub as your Bank
  • What are Version and Version Control Systems?
  • Type of Version Control Systems
    • Local Version Control System(LVCS):
      • How to create a timestamped directory in ubuntu?
    • Centralized Version Control System(CVCS):
    • Distributed Version Control System:

What is Git and What is Github?

If you have gone through any tutorial on git before, you might have heard that Git is a Version Control Tool that lets you manage your project and keep a record of all the changes that you performed during the development of the project on your local System. While GitHub is a Distributed Server that keeps your changes at the remote destination. So that, whatever you change at your local system can be accessed from anywhere any location.

If you still don’t understand the difference between these two terms, consider the corollary given below:

Git as your safe/locker at Home

As you know safe lets you store your money or jewelry, so Git lets you store the version details of your project. You can change the content of your safe whenever you are at home. Similarly, you could do changes to git only when you have Your local System with you. Your local System might be any device, i.e. your personal computer or laptop, or it might be your office.

GitHub as your Bank

The money kept in your locker is not much secure, so there comes a replacement of safe as Bank. Bank provides you more security and greater accessibility than safe kept at your Home. Likewise, GitHub stores your project as a repository at different distributed server and provide you with some sorts of security without charging any cost.

| Also Read | Types of System Integration

I hope you know have been cleared the difference between Git and GitHub with this corollary. So let’s Just move ahead and discuss:

What are Version and Version Control Systems?

A version is a state of your working repository, more precisely said it is a snapshot of the state. A state is a temporal factor that may vary with time, but a snapshot of anything has a timestamp associated with it that stores the state of the object at that particular time. Consider the corollary of the art/drawing to understand what clearly a version. In Drawing, there are many phases involved till the completion of the drawing, like the creation of layouts, Shading, adding Colors. These are the four different versions of a sketch, that lead to the final sketch, shown in the fourth image. Though this image doesn’t allow to switch to any one of the four Versions created but only to view the versions.

Four Different Version of a Sketch Introduction to Git and Version Control

While Git provides us the freedom to switch among any versions, which I will describe in upcoming posts soon.

Version Control system lets you keep the track of various snapshots of your working directory and manage them.

Type of Version Control Systems

There are basically three types of a version control system as mentioned above, we will discuss all of them one by one:

Local Version Control System(LVCS):

As the name suggests Local Version Control System, Local Version Control System resides in your local computer system. The simplest Version Control System can be maintaining multiple copies of the work in a different directory. For better management, you could name the directory with a timestamp, i.e. (a directory name + date and time with that name). You could do this by simply entering the date and time along with the directory name in the GUI interface or if you prefer Commands over GUI you could check one of the following links according to your OS.

How to create a timestamped directory in ubuntu?

Since the method explained above to create multiple copies of the same or a bit modified content, that leads to space problems and also leads to difficulty in remembering the file paths of each copy, and maintenance problems. So programmers created a Local Revision Control System (LRCS), that maintains a local database and keep track of every version ( by recording the difference between two versions as a patch in a special format) and allow the user to switch from one version to another easily(by adding patches to the subsequent version).

Centralized Version Control System(CVCS):

Now the LVCS was created on your local system, which means that teams can’t collaborate with each other using LVCS. Moreover, space can be also a problem in LVCS. So these problems lead to another solution, the emergence of a Centralized Version Control System(CVCS). Popular CVCS were being, CVS, Subversion, and Perforce. In a Centralized Version Control System, many users can simultaneously update the changes at a Central Server as shown below. All data is kept at a single central server, which has its own pros and downfalls.

Introduction to Git and Version Control
Centralized Version Control

The benefits include:

  • Simultaneously many users can post into a single Storage Location.
  • Have the ability to control, who can post or who can view only, i.e. has management rights.

The disadvantages include:

  • If the Central Server fails to service, the whole user community has to wait until it comes back to its original state.
  • If the hard disk of the central System is damaged then the whole data will be lost if there were no backup.

Distributed Version Control System:

Introduction to Git and Version Control Tekraze
Distributed Version Control

To overcome the problems of CVCS Distributed Version Control System comes into action. In DVCS, the data is copied not only to a Central Server Database but also between the client’s Local Database, i.e. When a client collaborates with the working repository he not only get the differences between the snapshots but the whole data is copied to his/her Local DataBase of Version Control Tool. It might be said that DVCS is a Combination of CVCS and LVCS. The popular DVCS are Git, Mercurial, etc. The risk of losing data has been minimized.

That’s for all today, a new post will be out soon, which will be totally based on the Git basics, Hope You understand everything very well if you face any issues feel free to comment on your issue at Git Forum – https://tekraze.com/forums/forum/git-github/ . Don’t forget to share with your friends, because sharing is caring.

Content Protection by DMCA.com
Developer Guide, Git and GitHub, Tutorials, Web Guide Tags:Centralised Version Control System, Distributed Version Control System, Git & Github, Local Version Control System, Revision Control System, Time Stamped Directory, Version, Version Control System

Post navigation

Previous Post: Learn 7 Simple Tips to Troubleshoot Computer Issues
Next Post: Top 5 Best Headless CMS in 2022

Related Posts

  • The Qualities of a Great Mobile app
    The Qualities of a Great Mobile App Developer Guide
  • How to get a chinese phone number banner
    How to Get a Chinese Phone Number? Web Guide
  • tips for newbie photographer
    Top 5 tips for a Newbie Photographer to Manage photos Tutorials
  • Install Ubuntu in Windows 10
    How to Install Ubuntu in Windows 10 Tutorials
  • 5 great Online Vocabulary Tools you must know banner
    5 Great Online Vocabulary Tools you must know in 2022 Web Guide
  • How the Best SEO Company in Sydney Shall Approach Your Project 2
    How the Best SEO Company in Sydney Shall Approach Your Project Guest posts

Comments (2) on “Introduction to Git Version Control”

  1. 79Jeannie says:
    January 29, 2018 at 5:07 pm

    Hi admin, i must say you have very interesting posts here.

    Your website can go viral. You need initial traffic boost only.
    How to get it? Search for; make your content go viral Wrastain’s tools

    Reply
    1. tekraze says:
      January 29, 2018 at 5:19 pm

      Thanks for your valuable feedback , keep visiting for more 😊

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Advertisements

Subscribe to updates

Enter your email below to subscribe





Posts by Categories

Advertisements
  • Social Media Influencing Apps for mobile tekraze
    Social Media Influencing apps for mobile to try Tech News
  • Match Score With Spring data elastic search in Spring Boot for a Query Banner
    Get Match Score With Spring data elastic search in Spring Boot for a Query Developer Guide
  • How to Earn Money Through Social Media 3
    How to Earn Money Through Social Media Guest posts
  • Everything You Need To Know About Tasker Profiles Tekraze
    Everything You Need To Know About Tasker Profiles Android Guide
  • Types of Programming - Difference you need to know 4
    Types of Programming – Difference you need to know Developer Guide
  • A New Book in the Hood Javascript Grammar by JS Tut Banner
    A New Book in the Hood Javascript Grammar by JS Tut Developer Guide
  • Remote working apps
    5 Must-Have Remote Working Apps Web Guide
  • GitHub - A Wizard Hat 5
    GitHub – A Wizard Hat Developer Guide

Affliate Links

Sell with Payhip

Earn with Magenet

Sell and Buy with Adsy

GainRock affiliate Program

Automatic Backlinks

Advertise with Anonymous Ads

accessily tekraze verificationIndian Blog Directory

Copyright © 2023 Tekraze.

Powered by PressBook News WordPress theme