31. January 2019 10:23
Git is a most widely used and powerful 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.
Git was developed by Linus Torvalds in 2005 as a distributed open source software version control software and of course, it is free to use. As a distributed revision control system it is aimed at speed, data integrity, and support for distributed, non-linear workflows.
While other version control systems e.g. CVS, SVN keeps most of their data like commit logs on the central server, every git repository on every computer is a full-fledged repository with complete history and full version tracking abilities, independent of network access or a central server.
However, almost all IDEs support git out of the box and we do not require to submit the git commands manually but it is always good to understand these commands. Below is a list of some git commands to work efficiently with Git.
The most useful command in git is
git help which provides us with all the help we require. If we type
git helpin terminal, we will get:
git help -a will give us a complete list of git commands:
git help -g will give us a list git concepts which git think is good for us:
We can use
git help <command> or
git help <concept> command to know more about a specific command or concept.
Git Commit and Push
Git Checkout And Pull
Other Git Commands