

As far as I can tell, using Chocolatey to install Git for Windows gives the same result as installing it yourself (option 1). 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.
#INSTALL GIT FOR MAC OS DOWNLOAD#
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. Note that RStudio for Windows prefers for Git to be installed below C:/Program Files and this appears to be the default.

Otherwise, we believe it is good to accept the defaults.

NOTE: When asked about “Adjusting your PATH environment”, make sure to select “Git from the command line and also from 3rd-party software”.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.
