Git
Git is an open source distributed version control system for tracking and managing changes to files.
Installing Git
Install Git from the Terminal with Homebrew:
brew install git
GitHub
GitHub is an internet hosting service for projects using Git that makes collaboration easy. It provides the distributed version control of Git, plus issue tracking, project management tools, continuous integration, and more for every project.
Installing GitHub Desktop
GitHub Desktop is an open source application for interacting with GitHub using a GUI instead of the command line or a web browser.
Install GitHub Desktop from the Terminal with Homebrew:
brew install --cask github
Installing GitHub CLI
GitHub CLI is a command line interface to access GitHub from the Terminal.
Install GitHub CLI from the Terminal with Homebrew:
brew install gh
Installing Git Credential Manager
Git Credential Manager is a secure Git credential helper that makes it easy to store credentials securely and connect to GitHub over HTTPS.
Install Git Credential Manager from the Terminal with Homebrew:
brew tap microsoft/git
brew install --cask git-credential-manager-core
Version Control in RStudio
See the following: