Basic Git Commands

Learn about Git and some basic commands.

Git?

Git is an Open Source Distributed Version Control System. Let us understand it in a bit more detail.

  • Control System: Git is a content tracker. It can be used to store any type of content, but it is mostly used to store the code.

  • Version Control System: The code that is stored in Git keeps on changing as more and more functionality is developed. Many developers can write code at the same time. Version Control System helps in handling this by maintaining a history of the changes that have happened till a given moment.

  • Distributed Version Control System: Git has a remote repository stored in a server and a local repository stored in your computer (or wherever you are developing the application). Git is a Distributed Version Control System since the code is present in every developer’s computer.

Installing Git

Get hands-on with 1200+ tech skills courses.