Getting Started With Git Version Control

In this article, we will discuss the Git Version Control in details. We will also see how to install the Git in Windows and why we need to use Git Version Control for software development.

In this article, we will see the following.

  • What is Git
  • What is Version Control
  • How to install the Git in Windows
  • How to plugin Git with Visual Studio
  • Why we need to use Git version control for software development

What is Git?

Git is an open source and fully distributed version control system. It is designed mainly to handle the any kind of a size of the projects with good performance as well as easy to learn.

What is Version Control?

Version Control is a technique that works on single file changes or multiple file changes over the period of time, we will get the specific version by later.

There are three type of VCS,

  1. Local Version Control System
  2. Centralized Version Control System
  3. Distributed Version Control System

Prerequisite

  1. Git-2.13.3-64-bit

How to install the Git in Windows

You can download the Git with the URL given below.

https://git-scm.com/

Now, you can copy and paste the URL into your browser as shown below.

 

Double click and run Git-2.13.3-64-bit.exe file. If you will receive a user control prompt, click "Yes" button.

The Git window will open and click "Next" button.

 

You can continue the default location for the installation, click Next button.

 

Select components window will open, click Next button.

 

Select start menu folder window will open. Click "Next" button.

 

You can continue the default option for using Git from the Windows command, click Next button.

 

You can continue the default option for using the OpenSSL library, click Next button.

 

You can continue the default option for Checkout Windows-style, commit Unix-style line endings, click Next button.

 

You can select the option for use Windows default console window, click Next button.

 

You can continue the default option for configuring additional features, click Install button.

 

Now, you can see the installation is progressing

 

After successfully installing Git, click Finish button.

 

How to plugin Git with Visual Studio

Open Visual Studio 2017. Go to Tools menu, point to options and click options, options window will open as shown below

 

Go to Source Control, Expand the Source Control tree view. Now, you can select the plug-in-selection as shown below

 

Now, you can select the source control as Git from dropdown box, click Ok button.

 

Why we need to use Git version control for software development

  • Git is a fully distributed version control system that we can use out of dedicated server to code management with multiple peoples.
  • It is strongly supported for non-liner development approach
  • Ability to handle large projects with good performance and data volume
  • Good documentation and community support
  • It is support cross platform such as Windows, Linux and Mac

Reference

  • https://git-scm.com/

Conclusion

I hope you understand now about Git, how to install the Git in Windows, how to plugin Git with Visual Studio, and why we need to use Git version control. I have covered all the required things. If you find anything missing, please let me know.

Please share your valuable comments or feedback to improve my future articles. 

X

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now