1. Download the latest version of git from the official website https://git-scm.com/download/win , and click "Downloads for Windows" to download the installation package
2. Select the installation path
3. Select components
4. Click Next
5. Click Next
A. The first one by default, you can only use git commands in the git-bash console.
B. Here we choose the second one. The reason is to be able to use git in our previously installed MinGw, and git-bash also uses its own MiniGw. If we want to use git in our own MinGw terminal, we should choose this.
C. The third is that git commands and the MiniGw command that comes with git-bash can be used in all terminals, which will conflict with the MinGw we originally installed.
6. Click Next
select default
7. Click Next
8. Click Next
9. Click Install
10. I can use git in my MinGW
11. Git comes with Git-bash
12. https://tortoisegit.org/download/ download the latest TortoiseGit
13. Click Next
14、Next
15、 Install
16、Finish