How to Install Git on Windows

Git Installation

Git is a distributed version control system. It is used for tracking changes in source code during development. The goals include speed, data integrity, non-linear workflows, etc.

Git was developed in 2005. It is free and open-source software that is distributed under the terms of the GNU version 2.

The Git has gained massive popularity among all the developers, and open source has incorporated many features.

A number of projects use Git for version control. i.e., both commercial and personal.

  • Performance: The Git provides the best performance that comes to the version control systems. For better performance, it merges all the optimized committing, branching.
  • Security: The Git handles our security with cryptographic method SHA-1. Its algorithm manages our version, files, and the directory securely so that our work is not corrupted.
  • Branching Model: The Git has a different branching model than the other VCS. The branching model lets us have multiple local branches that are independent of each other. It enables us to have friction-less context switching, role-based code, and disposable experimentation.
  • Staging Area: The Git has an intermediate stage called “index’ or “staging area” that can be formatted and modified before completing the commit.
  • Distributed: The Git is distributed in nature. A distributed means the repository or the complete code base.
  • Open Source: This is an important feature of any software. It is an open source that invites all the developers of the software and makes it more and more powerful through features and plugins.

Installation Guide Git on Windows Step by Step:

The steps for downloading and installing the Git software are as follows:-

For downloading the Git, go to the Git website https://git-scm.com/download/win into computer`s browser.

Installation Guide Git on Windows Step by Step 1
  • Click on the 64-bit Git for Windows Setup.
Installation Guide Git on Windows 2
  • In the next step, double-click on the downloaded file. The file name should be something like Git-2.22.0-64-bit.
Installation Guide Git on Windows step by step 3
  • Click on the Next button appearing at the bottom of the setup window.
Installation Guide Git on Windows Step by step 4
  • In the next step, if we want to install the setup in the another location then click on the Browser button at the right-side of the setup window, if not then click on the Next button at the bottom of the setup window.
Installation Guide to git on Windows  5
  • Click on the Next button after selecting the file location.
  • In the next step, we have to choose the adjustment of our path environment. It is where we decide how we want to use Git.
Installation Guide to Git on Windows Step by Step 7

We can select any three options according to our need. But for Laravel, we are going to use Git from the command line.

  • After selecting the Git from the command line, click on the next button at the bottom of the setup window.
Installation Guides  to Git on Windows Step By Step 8 TutorialandExample
  • In the next step, select the SSL/TLS library for HTTPs connections.
Installation Guides  to Git on Windows Step by Step 9

In the above screen, we can select either of the option from the Setup window according to our need, in this case we are selecting the OpenSSL library. And then click on the Next button at the bottom of the setup window.

Installation guides  to Git on Windows step by step
  •  In the next step, we have to choose the features for Git. We have three options, and we can select any of them, all of them are as per our needs.
Installation Guides  to Git on Windows Step by Step 10
  • In the final step, we have to choose the terminal. We can choose one option from the given options. The default option is terminal of MYSYS2 that is a collection of GNU like bash, and grep to allow the building of applications and programs that depend on traditionally UNIX tools to be present. Or we can choose the window`s default console window (cmd.exe.).
Installation Guides  to Git on Windows Step by step 11
  • Click on the Finish button at the bottom of the Setup window.
Installation Guides  to Git on Windows Step by Step 12

Related Topics

XAMPP Installation

install xampp on windows XAMPP is a free & open-source stack package which is developed by Apache, mainly it consists of Apache HTTP server, Maria DB database for scripts written in the...

2 minutes read.

Laravel Named Routes

Named Routes Named routes allow the suitable generation of URLs or redirects to specific routes. We specify a name for a route by changing the name method onto the route definition: Syntax:  Route::get(‘user/profile’, function () {...

2 minutes read.

Database Migrations

Database Migrations in Laravel Introduction Migrations are version control for our database. It allows our team to modify and share the application`s database. Migrations are paired with schema builder to build an application`s database...

2 minutes read.

Laravel Creating Views

Creating Views Views hold the HTML served by our application, and it separates our controller/application logic with the help of presentation logic. Views are stored inside the resources/views directory. A simple view...

2 minutes read.

Laravel Control Statements

Blade also provides convenient shortcuts for common control structure in PHP, such as conditional statements and loops. These shortcuts provide a very clean working with PHP structures, while also remain familiar to...

3 minutes read.

Laravel Basic Routing

Basic Routing The basic Laravel routes accept a URI and a Closure, providing a straightforward method for defining routes: Route::get('/', function () { return view('welcome') }); E.g.: Route::get('/', function () { return "Hello Laravel"; }); Output: We...

3 minutes read.

Laravel Displaying Data

Display data that is passed to our Blade views by enclosing the variable in curly braces. The following route is given below: Route::get('greeting', function () { return view('welcome', ['name' => 'rafia']); }); We display...

2 minutes read.

Creating First Laravel Project

Creating the Laravel Project For creating the Laravel project, we are going to use a “Git”. If you don`t have a “Git” software and also don`t have the knowledge to install it, then click here. Let`s...

1 minute read.

Laravel Forms

CSRF Field For defining an HTML form in our application, we should include a hidden CSRF token field in the form, so that the CSRF protection middleware can validate the request. We use the...

3 minutes read.

Laravel Tutorial

Laravel Tutorial is a PHP based web-framework; it is used for developing high-end web applications by using significant syntax's. It has a substantial collection of tools and provides application architecture....

5 minutes read.

CSS Icons

CSS Icons       CSS icons are specified like a symbol or image used inside a computer interface assign to any element. CSS icons are the graphical depiction of any program or...

4 minutes read.

Laravel First Packages

First Packages  Laravel provides the following ready to use packages: Cashier: It was introduced in Laravel 4.2 version, it provides an interface for managing subscription billing service, like handling coupons and generating invoices. SSH: It was...

2 minutes read.

Features of Laravel Framework

Top 8 Laravel Features Laravel has a very rich set of features that makes the speed of web development faster. The following features that serve the Laravel`s key points: Bundles: Bundles provide us a Modular Packaging...

2 minutes read.

Laravel Validation

Laravel provides a different way to validate the application`s incoming data. Laravel base controller class uses a ValidatesRequests that provides an easy method to validate incoming HTTP request with many powerful validation rules. Defining the...

5 minutes read.

Laravel Data Views

Passing the Data Views The data should be an array with the key/value pairs while passing the information in the following (return view(‘greeting’, [‘name’ => ‘John’]);) manner. Inside the view, we...

4 minutes read.

Laravel Uploading Files

Retrieving Uploaded Files We can access files from an Illuminate\Http\Request. By using the file method or using the dynamic properties. The file method returns an instance of the Illuminate\Http\UploadedFile class that extends the...

2 minutes read.

Raw SQL Queries

Raw SQL Queries: Laravel interact with databases by the variety of database back-ends with raw SQL, the fluent query builder, and the Eloquent ORM. Laravel supports four types of databases: MySQLPostgreSQLSQLiteSQL Server Configuration The database...

3 minutes read.

Laravel Advantages

Top 8 Advantages of Laravel The following advantages that Laravel offers, it is based upon designing a web application:- 1. Powerful Authentication: The Laravel PHP framework was developed with a purpose that can help...

2 minutes read.

Laravel Resource Controllers

Laravel resource routing assigns the “CRUD” routes to a controller with the help of single line code. For E.g., If we wish to create a controller that handles all HTTP requests “photos” stored by...

4 minutes read.

Laravel Authentication

Authentication is a process of identifying user credentials. Laravel makes implementing authentication very simple. The authentication configuration file is located at config/auth.php that contains various documented options for adjusting the behavior of the authentication...

4 minutes read.