9 Top Git Terminology You need

Here're top terminology popular in Git version control system. These are useful why means interviewer surely surface these questions. So if you can respond to these, interviewer will acknowledge that you have enough subject knowledge.

Git Vs GitHub

This is the first question you ( even me also) might confuse. Git is version control system. Whereas GitHub is repository frame-work. Also you can say GitHub is Git hosting service.


What is Branch

Git is light-weight version control system. In simple terms, a Branch is a separate line of development. You can have any number of branches in the Git.


Git terminology


What is Topic

Each branch in the Git refers to a particular purpose. So topic tells about the purpose.


Clone

In easy terms, the Clone means copying a existing repository. So you can say it is just a copy of existing repository.


What is Push

You can say Push means updating the existing repository. In other words, developers push their changes to a repository that you setup.


Merge

Merge unifies two or more commit history branches. That means it merges two or more committed branches.


What is Pull

Pull means fetch from and merge with another local branch.


Fetch

In simple words, it means, downloading the objects and refs (Hash id) from another repository.


Checkout

It is the scenario, if you want to work with another branch you need to issue checkout. So that you can work with new branch. And you will not loose any information of the current branch.


References

  1. Useful Guide - How to work with Git 

Comments

Most Popular

7 AWS Interview Questions asked in Infosys, TCS

Hyperledger Fabric: 20 Real Interview Questions

How to Decode TLV Quickly