how to install git in cmd on windows with terminal

C++
$ git --versionCan you tell me how to install git in windows from command prompt
Source

Also in C++: