Скачать git bash для windows 11

Click here to download the latest (2.39.1) 32-bit version of Git for Windows. This is the most recent maintained build. It was released 22 days ago, on 2023-01-17.

Download for Windows

Click here to download the latest (2.39.1) 32-bit version of Git for Windows. This is the most recent maintained build. It was released 22 days ago, on 2023-01-17.

Other Git for Windows downloads

Standalone Installer

32-bit Git for Windows Setup.

64-bit Git for Windows Setup.

Portable («thumbdrive edition»)

32-bit Git for Windows Portable.

64-bit Git for Windows Portable.

Using winget tool

Install winget tool if you don’t already have it, then type this command in command prompt or Powershell.
winget install --id Git.Git -e --source winget

The current source code release is version 2.39.1. If you want the newer version, you can build it from the source code.

Now What?

Now that you have downloaded Git, it’s time to start using it.

  • Read the Book

    Dive into the Pro Git book and learn at your own pace.

  • Download a GUI

    Several free and commercial GUI tools are available for the Windows platform.

  • Get Involved

    A knowledgeable Git community is available to answer your questions.

Install git illustration

How to install Git on any OS

Git can be installed on the most common operating systems like Windows, Mac, and Linux. In fact, Git comes installed by default on most Mac and Linux machines!

Checking for Git

To see if you already have Git installed, open up your terminal application.

  • If you’re on a Mac, look for a command prompt application called «Terminal».
  • If you’re on a Windows machine, open the windows command prompt or «Git Bash».

Once you’ve opened your terminal application, type git version. The output will either tell you which version of Git is installed, or it will alert you that git is an unknown command. If it’s an unknown command, read further and find out how to install Git.

Install Git Using GitHub Desktop

Installing GitHub Desktop will also install the latest version of Git if you don’t already have it. With GitHub Desktop, you get a command line version of Git with a robust GUI. Regardless of if you have Git installed or not, GitHub Desktop offers a simple collaboration tool for Git. You can learn more here.

Install Git on Windows

  1. Navigate to the latest Git for Windows installer and download the latest version.
  2. Once the installer has started, follow the instructions as provided in the Git Setup wizard screen until the installation is complete.
  3. Open the windows command prompt (or Git Bash if you selected not to use the standard Git Windows Command Prompt during the Git installation).
  4. Type git version to verify Git was installed.

Note: git-scm is a popular and recommended resource for downloading Git for Windows. The advantage of downloading Git from git-scm is that your download automatically starts with the latest version of Git included with the recommended command prompt, Git Bash . The download source is the same Git for Windows installer as referenced in the steps above.

Install Git on Mac

Most versions of MacOS will already have Git installed, and you can activate it through the terminal with git version. However, if you don’t have Git installed for whatever reason, you can install the latest version of Git using one of several popular methods as listed below:

Install Git From an Installer

  1. Navigate to the latest macOS Git Installer and download the latest version.
  2. Once the installer has started, follow the instructions as provided until the installation is complete.
  3. Open the command prompt «terminal» and type git version to verify Git was installed.

Note: git-scm is a popular and recommended resource for downloading Git on a Mac. The advantage of downloading Git from git-scm is that your download automatically starts with the latest version of Git. The download source is the same macOS Git Installer as referenced in the steps above.

Install Git from Homebrew

Homebrew is a popular package manager for macOS. If you already have Homwbrew installed, you can follow the below steps to install Git:

  1. Open up a terminal window and install Git using the following command: brew install git.
  2. Once the command output has completed, you can verify the installation by typing: git version.

Install Git on Linux

Fun fact: Git was originally developed to version the Linux operating system! So, it only makes sense that it is easy to configure to run on Linux.

You can install Git on Linux through the package management tool that comes with your distribution.

Debian/Ubuntu

  1. Git packages are available using apt.
  2. It’s a good idea to make sure you’re running the latest version. To do so, Navigate to your command prompt shell and run the following command to make sure everything is up-to-date: sudo apt-get update.
  3. To install Git, run the following command: sudo apt-get install git-all.
  4. Once the command output has completed, you can verify the installation by typing: git version.

Fedora

  1. Git packages are available using dnf.
  2. To install Git, navigate to your command prompt shell and run the following command: sudo dnf install git-all.
  3. Once the command output has completed, you can verify the installation by typing: git version.

Note: You can download the proper Git versions and read more about how to install on specific Linux systems, like installing Git on Ubuntu or Fedora, in git-scm’s documentation.

Other Methods of Installing Git

Looking to install Git via the source code? Learn more here.

Contribute to this article on GitHub.

Get started with git and GitHub

Review code, manage projects, and build software alongside 40 million developers.

Sign up for GitHub

Sign in

Introduction

In this tutorial you will install Git Bash on your Windows operating system. Git Bash is one of the most popular packages on Windows system. It comprises of git and bash. Git was created in 2005 by Linus Torvalds, and was built around a Unix-based system, such as the Linux operating system and MacOS. These operating systems have a built-in shell called bash that allows Git to run smoothly.

On the other hand, Windows is not a unix-based system and uses a different shell from bash, which git doesn’t support out of the box. To bridge the gap, Git Bash was created. Git bash installs both git and bash shell on a Windows system giving it access to command line tools that allow git to run properly. Additionally, git bash also installs bash tools such as ssh, cat, nano that makes developing on Windows easier.

What is Git?

Git is an open-source version control system for tracking source code changes when developing software. It keeps a commit history which allows you to revert to a stable state in case you mess up your code. Another common use for git is collaboration. git also allows multiple developers to collaborate on the same code base. it tracks all the changes each developer has made, and once the changes are accepted, the changes are merged into one code base which is deployed in production.

What is Bash?

Bash is a Unix command-line shell. The name is an acronym for the ‘Bourne-Again Shell’. A shell is a command line interpreter that gives the user an interface to interact with the computer through the use of commands.

Bash has a lot of useful commands, such as rsync,ssh, SCP, etc., which are not available on windows by default.

Now that you have an idea of that git bash and the tools it installs on Windows, you will download git bash in the next section.

Prerequisites

To follow this tutorial you will need:

  • Windows administrator privileges.
  • A text editor. You can download Visual Studio Code or Notepad++.

Step 1: Downloading Git Bash

In this section, you will download Git Bash executable from the official website.

Open your preferred browser and visit Git Bash downloads page by clicking the following link: Git Download Page

Once the page loads, click the Download for Windows button.

git bash official page

Next, you will be redirected to a different page and download will start automatically in a few seconds.

git bash download page

Tip: If the download doesn’t start, click on the click here to download manually link.

Now that you have downloaded the Git Bash executable, you will run the installer.

Step 2: Running the Installer

In this step you will start the Git Bash installation wizard. Go into your Downloads directory or the location where your browser download things in. Click the Git Bash executable(.exe file) to run the installer.

Windows will prompt you with the message “Do you want to allow this app to make changes to your device?”, click Yes.

Next, read the GNU General Public License and click Next.

accept license

Step 3: Selecting the Destination Location

In this step, the installer will ask you select the location you want to install Git Bash. Proceed with the default option, and click Next.

choose default

Step 4: Selecting Components

Select the components you want to install. I prefer selecting the Additional icons component which creates a Git Bash shortcut on the desktop. After you’ve selected the components, click Next.

select components

The installer will ask you to choose the folder to create Start Menu folder. Proceed with the default name by clicking Next.

select start menu folder

Step 6: Choosing the Default Editor for Git

In this step, the installer will ask you to choose the default editor for Git. By default it chooses Vim, please don’t proceed with the Vim editor as it has a steep learning curve.

Instead, choose a text editor that you like. If you looking for recommendations, you can download Visual studio code or notepad++ which are much easier to use and restart the installation wizard.

I prefer Visual Studio code, so I will select that.

Choose visual studio code editor

After choosing the editor, click Next.

editor chosen

Step 7: Adjusting the Name of the Initial Branch in New Repositories.

The installer will now ask you to choose the branch name for new repositories. Naming a branch master used to be a popular naming convection, but lately there has been a shift to naming branches main. This due to negative association with the word master. Even GitHub changed the default branch name from master to a more inclusive name main.

So in this step, we will name the branch name main. select the Override the default branch name for new repositories option, and type main. After that, click Next.

choose branch name

Step 8: Adjusting your PATH Environment

In this section, the installer will ask you to choose how you want to use Git. It offers you the following options:

  • Use Git from Git Bash only: allows you to run Git and Bash commands in the Git Bash terminal only. The commands won’t work on Windows Command Line(CMD) or PowerShell.

  • Git from the command line and also from 3rd-party software(recommended): allows you to run Git commands only on CMD, PowerShell and when you need bash commands, you will need to open the Git Bash terminal.

  • Use Git and optional Unix tools from the Command Prompt: Allows you to run both Git and Bash commands on CMD or Powershell. This option overrides default CMD tools like find and sort.

We will go with the default option Git from the command line and also from 3rd-party software. We will be able to use Git on all terminals: CMD, PowerShell and Git Bash terminal. And we can always open the Git Bash Terminal when we need more bash tools. Click Next to proceed.

Adjust Path Environment

Step 9: Choosing the SSH executable

Select the Secure Shell(SSH) client, it’s recommended to go with the default option. So select Use bundled OpenSSH, and click Next.

choose ssh executable

Step 10: Choosing HTTPS Transport Backend

The installer will ask you to choose the SSL/TLS library for Git HTTPS connections. Proceed with the default option Use the OpenSSL library and click Next.

choose https transport backend

Step 11: Configuring the Line Ending Conversions

In this step, you will be prompted to choose how Git should treat line endings in text files. Since you are on Windows system, go with the default option Checkout Windows-Style, commit Unix-style line endings and click Next.

configure line endings conversions

Step 12: Configuring the Terminal Emulator to use with Git Bash

Choose the terminal emulator you want Git Bash to use. MinTTY works well, so I would recommend you to proceed with the default option Use MinTTY(the default terminal of MSYS2) and click Next.

choose terminal emulator

Step 13: Choosing the Default Behaviour of git pull

In this step, the installer asks you if you want to change the default behaviour of git pull(a git command). Unless you know what you doing, proceed with the default option Default (fast-forward or merge) and click Next.

modify git pull behaviour

Step 14: Choosing a Credential Manager

In this step, you will be asked to choose a credential manager. Proceed with the default option Git Credential Manager Core and click Next.

choose credential Manager

Select the features you want. I find the default options sufficient for my needs. You can proceed with them and click Next.

enable features

Step 16: Configuring Experimental Options

If you are feeling adventurous, you can try new experimental features. I like to play it safe and I don’t enable them, so I will proceed to start the installation process by clicking Install.

enable experimental options

Step 17: Waiting for Git Bash to install

In this step, you take a step back and wait for a few minutes for the Setup Wizard to install Git Bash on your computer.

Setup wizard

Step 18: Completing the Installation

After the installation has finished, select Launch Git Bash and click Finish to launch Git Bash.

finish installation

The Git Bash terminal will now open and you will be able to enter Git and Bash commands.

git bash opened

Congratulations on successfully installing Git Bash.

Step 19: Launching Git Bash

The following are just some tips on how you can easily launch Git Bash.

1. Right-click on any folder, anywhere and it will have the launch Git Bash option on the context menu.

folder context

2. If you enabled the “Additional icons” option on Step 4, you can easily launch Git Bash by clicking the Git Bash desktop icon.

git bash shortcut

As mentioned in Step 7, you will be able to run Git commands on Git bash terminal, Windows Command Prompt, and Powershell.

Quickly, lets verify that Git works on CMD and PowerShell by typing the following commands:

git --version tells you the Git version currently installed on your system.

git bash cmd

git bash cmd

Conclusion

In this article you installed Git Bash on your windows system. You also verified that Git works on CMD, and PowerShell. You are now ready to start learning Git. Visit gittutorial — A tutorial introduction to Git to learn the basics.

Thanks for reading.

Each software is released under license type that can be found on program pages as well as on search or category pages. Here are the most common license types:

Freeware

Freeware programs can be downloaded used free of charge and without any time limitations. Freeware products can be used free of charge for both personal and professional (commercial use).

Open Source

Open Source software is software with source code that anyone can inspect, modify or enhance. Programs released under this license can be used at no cost for both personal and commercial purposes. There are many different open source licenses but they all must comply with the Open Source Definition — in brief: the software can be freely used, modified and shared.

Free to Play

This license is commonly used for video games and it allows users to download and play the game for free. Basically, a product is offered Free to Play (Freemium) and the user can decide if he wants to pay the money (Premium) for additional features, services, virtual or physical goods that expand the functionality of the game. In some cases, ads may be show to the users.

Demo

Demo programs have a limited functionality for free, but charge for an advanced set of features or for the removal of advertisements from the program’s interfaces. In some cases, all the functionality is disabled until the license is purchased. Demos are usually not time-limited (like Trial software) but the functionality is limited.

Trial

Trial software allows the user to evaluate the software for a limited amount of time. After that trial period (usually 15 to 90 days) the user can decide whether to buy the software or not. Even though, most trial software products are only time-limited some also have feature limitations.

Paid

Usually commercial software or games are produced for sale or to serve a commercial purpose.

Git for Windows is the Windows port of Git, a fast, scalable, distributed revision control system with a rich command set. Git for Windows brings the full feature set of the Git SCM to Windows while providing new and appropriate user interfaces. It’s ideal for both experienced Git users and novices alike.

Features

  • BASH emulation used to run Git from the command line
  • Git GUI
  • Shell integration

License

GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Boost Your Marketing with Interactive Content Icon

Content Optimized For The Modern Marketer

User Ratings


5.0

out of 5 stars

★★★★★

★★★★

★★★

★★

ease
1 of 5
2 of 5
3 of 5
4 of 5
5 of 5

5 / 5

features
1 of 5
2 of 5
3 of 5
4 of 5
5 of 5

5 / 5

design
1 of 5
2 of 5
3 of 5
4 of 5
5 of 5

5 / 5

support
1 of 5
2 of 5
3 of 5
4 of 5
5 of 5

5 / 5

User Reviews

  • All
  • ★★★★★
  • ★★★★
  • ★★★
  • ★★
  • Probably a life saver for the windows users out there. Git is used by every developer out there and I think windows should now give the git feature in CMD or Power shell. But till that this is the only way possible for the beginners to use git or you can install git via WSL.
    This is fast, lightweight, GUI has pretty much everything. So for me its a 5/5.

Read more reviews >

Additional Project Details

2016-11-21

Like this post? Please share to your friends:
  • Скачать google play для windows 10 x64
  • Скачать gimagex для windows 10 на русском
  • Скачать gigabyte easytune для windows 10
  • Скачать gif на рабочий стол windows 7 скачать
  • Скачать gfwlivesetup exe для windows 10 с оф сайта