logo

Git Tutorial

Git Tutorial

What is git

Git is a free and open-source distributed version control system, developed in 2005 by Linus Torvalds. Besides version controlling nowadays, git is essential for a team working on the same project. It has a branching and merging system. So for developers, it is very easy to develop a specific part of the software separately and adding the feature in the main software later. It is easy to go back to a specific version using git.



What is GitHub

Github is a website or hosting service for git repositories. It helps you to centralized your git repositories in the cloud for sharing with team members. So the team members can see it also on GitHub. If the repository is public other members can see your repository and can improve your code if needed. Github provides a better user interface for git repositories. There are some more hosting services for the git repository like bitbucket, GitLab.


There are some more benefits of using GitHub like, get a contribution for your project, Display your work to the world, Deploying to the production server. Many hosting platforms support GitHub for deploying an application as a production version.



Installing Git

To install Git go to the Git website https://git-scm.com/, and https://git-scm.com/downloads it for your operating system. You can install git as a regular software with the default and recommended features for now.


After installation, you can open the git bash the command-line tool for git. To check your git version you can run the command

git --version

it will show your current git software version.



Create an account in Github

You can create a GitHub account easily by going to their signup page. You have to select a unique username and email. Give the email you have access to for verification and password recovery.



In the next part of the series, we will see some basic commands of git.

At 17th Apr 2023
Share Content:
Read: 10

Recent Comments