Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is GIT in Programming/ Web Development?

user-image
Question added by Yasmeen Husam , Web Developer , Al Fahid Systems
Date Posted: 2018/09/12
Anthony Morha
by Anthony Morha , Lead IT Consultant , Fintech Associates Limited

Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development, but it can be used to keep track of changes in any set of files

Mohd Javed
by Mohd Javed , Front End Developer , Millennium Silicon Service India Pvt. Ltd.

It is not a programming language it is just control or track versions. and work with using some commands. you can learn from more below given links.  

Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development, but it can be used to keep track of changes in any set of files. as per wiki What is git in programming ? 

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. as per git official website https://git-scm.com/ 

Here some basic and generally use commands :  

git branch - check branches or which one is active branch currently 

git checkout -b branch-name - create a new branch 

git status - check current changes or how many pending changes currently. 

git add . - stage all the changes 

git stash - remove all current changes. 

git commit -m "String for commit" - commit all the changes 

- Push new branch on live 

git push -u origin branch-name or origin //where to want to publish branch

and etc...

Abdelrahman Yossef Soliman
by Abdelrahman Yossef Soliman , Agricultural Engineer , syngenta

Git is a version control system which enable you to track your files either in your lockal device or online, and share your work with others to participate developing it with you and the opposite is correct.

Rashedul Hoque
by Rashedul Hoque , Sr. Software Developer , Orko Health Ltd.

Git is a version controlling system. It can be used to track changes of any files. Content of the files may or may not related to programming languages.Q. what is version control?For example:  In your web application you have a file called A. you have been changing this particular file for the last days. Solving problems everyday. So if someone wants to see the latest version. It is easy, you can just show them the latest code. But what if someone asked for the version that made days before or a particular problem's version?In normal sense, you can't do it unless you kept  minimum records of this file. You have to store records of each day , named as A1, A2, A3,...A. So right now there are three problems i can think about it:    what if you are doing changes for the past2 years or more?    what if multiple problems solved each day?    what if multiple developers involved in the same project? So the easiest way to answer these questions , you can't show  changes that happened in a specific day or you can't go back to your stable version of file.Version controlling is a powerful mechanism to make developer's life a lot easier. You can identify any changes anytime you want.  whether you work in a team or not. Every changes/commit in git has a commit message in it along with a key (hashed). So you can identify it easily.  Go back if you want to a particular commit or change the head of the file anytime.There are lots of advantages of git. For example for any application there could be two versions of application running on separate server. One is Production server and another is Development Server. Code of these server is different. One is stable (Production) and other is unstable (need testing).In GIT , there is a feature called BRANCH. So you can manage two version of your git using Master (for production) and Development (for development). You can choose any branch for Production or Development. But its a good practice to maintain proper naming convention.Finally, for any programmer, it's mandatory skill to understand how GIT works and how can we utilize it to make our dev's life less painful.

Abdulaziz Alshehri
by Abdulaziz Alshehri , Senior Programmer , شركة تام للخدمات التجارية [warshaplus.com]

Git is basically a version control

 

you would benifit the most using it in collaborative programming (Y)

Abdul Khader Shaik
by Abdul Khader Shaik , Cyber Crime Lawyer , Grofers

Thanks for the invite but my answer would be the same as briefed by others.I do go with them

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.