To use GIT on your Windows computer you must first download and install it. You can download the latest version of GIT from this page.
Download the installer and run it. This will open a new window in which you can find license information about the software. Click the Next button to proceed.
On the next step you should choose where to install the program. The default path is "C:\Program Files\Git". If you want the software installed in a different location click the Browse button and specify a different folder. Click Next when ready to proceed.
On the next step leave all default options enabled and only enable the Additional Icons option if you want to have shortcuts on your computer desktop.
On this step you are prompted to provide the name of the Start Menu folder in which the shortcuts for the application will be placed. Usually this is left at the default value, but you can change it if you want. Click Next when you are ready to continue further.
On the next page the recommended option is Use Git from Git Bash only. Select a different option only if you know what you are doing in order to prevent problems with any of the other services on your computer.
On the next stop pick the Use the OpenSSL Binary option and click Next.
On the next step of the installation process it is recommended to choose the Checkout Windows-style, commit Unix-style line endings.
Choose the Use MinTTY option on the next step in order to use GIT with the built-in MinTTY terminal. Choosing the other option will allow you to use Git commands with the Windows command prompt tool, but this is not recommended as it is not designed to be used with GIT.
On the last step leave the default options enabled and click the Install button to start the installation process of the software.
The installation will start and you can follow it via the progress bar that appears.
Once the installation is completed you will see a confirmation message.
That‘s it! You can now start using GIT on your Windows computer to manage your projects.
原文地址:https://www.cnblogs.com/karmapeng/p/12178769.html