What is Git and GITHUBWhat is Git and GITHUB

What is Git ?

Git is one of best tool for Version control and Developers first choice tool. Git is a distributed version control system used to manage and track changes in code, documents, and other files. Git is a distributed version control system designed to track changes in source code during software development. It allows multiple people to work on the same codebase simultaneously, keeps a history of changes, and allows developers to collaborate on code without overwriting each other’s work. Git is widely used in the software industry and is also used for version control in other fields, such as writing and data analysis.

Difference between Git and Git Hub ?

Git and GitHub are related but different tools.

Git is a distributed version control system that allows developers to track changes in source code during software development. It allows multiple people to work on the same codebase simultaneously, keeps a history of changes, and allows developers to collaborate on code without overwriting each other’s work.

GitHub, on the other hand, is a web-based hosting service for Git repositories. It provides a graphical user interface and a variety of tools to help developers manage and collaborate on Git repositories. GitHub allows developers to store, share, and contribute to open source projects, as well as host and collaborate on private projects.

In short, Git is a version control system, while GitHub is a hosting service for Git repositories. Git is used to track changes in code, while GitHub is used to manage and collaborate on Git repositories.

How to Install Git for windows.

You can follow the below link for git installation for windows.

Step -01 : Go to link – Git – Downloading Package (git-scm.com)

Git-Version-Control
Git-Version-Control

 

 

 

 

 

 

 

 

 

 

Step -02 : You can also install from Window powershells

winget install –id Git.Git -e –source winget

Step -03 : Once git install in your system. please verify it from here.

C:\Users\sachi>git --version
git version 2.39.1.windows.1

C:\Users\sachi>

Some of the most popular Git commands are:

  • git init: initializes a new Git repository in the current directory
  • git add: stages changes to be committed
  • git commit: creates a new commit with the staged changes
  • git clone: copies a remote repository to your local machine
  • git pull: fetches changes from a remote repository and merges them into your local branch
  • git push: sends local commits to a remote repository
  • git status: shows the current status of the repository, including staged and unstaged changes
  • git branch: shows a list of all branches in the repository, and can be used to create or delete branches
  • git merge: combines changes from two branches
  • git log: shows a history of commits in the repository.

If this article is looks good and interested, Please read more and I hope you also like below.

How to find the file system size in Linux using df command.

 

2 thoughts on “What is Git – How to Install and Configure Git”

Leave a Reply

Your email address will not be published. Required fields are marked *

Netflix’s Overall Architecture. Gold is money every thing else is credit