
If this means anything to you, Chocolatey is like apt-get or Homebrew, but for Windows instead of Debian/Ubuntu Linux or macOS. Option 2 ( recommended): Install Git for Windows via the Chocolatey package manager. So check out Git clients we recommend (chapter 8).įYI, this appears to be equivalent to what you would download from here. This also leaves you with a Git client, though not a very good one. Unless you have specific reasons to otherwise, follow this convention. This implies, for example, that the Git executable on my Windows system is found at C:/Program Files/Git/bin/git.exe.


This also supports a transition to more expert use, because the “Git Bash” shell will be useful as you venture outside of R/RStudio.

We like this because Git for Windows leaves the Git executable in a conventional location, which will help you and other programs, e.g. RStudio, find it and use it. Yes, all those names are totally confusing, but you might encounter them elsewhere and I want you to be well-informed. Option 1 ( highly recommended): Install Git for Windows, also known as msysgit or “Git Bash”, to get Git in addition to some other useful tools, such as the Bash shell.
