By: Robert Outlaw
Git isn’t usually set up by default on your computer, so you need toinstall and configure it before you can start using it to manage yourcode. It’s important to keep Git up to date, just like all the othersoftware on your machine. Updates protect you from securityvulnerabilities, fix bugs, and give you access to new features.
The recommended method of installing and maintaining Git is provided forthree major platforms below.
Click Download, and it automatically downloads the software package on your system. Find the package and double-click to open the Git installer. Follow the installation wizard and configure Git to suit your development needs.If you are new to version control systems, the best option would be to leave the default settings. Download Git for Mac - A reliable, free and open source distributed version control system specially made to help you to efficiently and easily manage large and small projects. Install Git on macOS Mojave, Sierra, or an older Mac OSX version by getting the latest git version from the Git home page or from the direct macOS latest link. This will download the latest version of Git to your desktop/download area as a dmg file, (it says mavericks in the file name but just ignore that). Git For Mac Update; Git For Mac High Sierra; Git For Mac Terminal. How to Install Git on Mac. This wikiHow teaches you how to install Git on a Mac computer. Git is the most common version control system for software and it's widely considered the standard for version control If you are working on Mac OSX or Linux. Git for Mac Installer The easiest way to install Git on a Mac is via the stand-alone installer: Download the latest Git for Mac installer. Follow the prompts to install Git.
Windows
Download and install Git for Windows. Once installed, you’ll beable to use Git from the command prompt or PowerShell. We recommend thatyou stick with the defaults selected during the installation unless youhave a good reason to change them.
Git for Windows does not automatically update. Update Git for Windows bydownloading a new version of the installer, which will update Git forWindows in place and keep all of your settings.
macOS
macOS 10.9 (Mavericks) or higher will install Git the first time you tryto run Git from the Terminal. This is an easy way to get Git on yoursystem, but you can’t control exactly how often you get updates orsecurity fixes for Git.
We recommend installing Git through Homebrew andusing the Homebrew tools to keep Git up to date. Homebrew is a great wayto install and manage open source development tools on your Mac from thecommand line.
Install Homebrew and run the following to install anup to date version of Git on your Mac:
> brew install git
To update your Git install, use Homebrew’s upgrade option:
> brew upgrade git
A graphical installer for Git on macOS is also available from theofficial Git website.
Linux
Use your Linux distribution’s package management system to install andupdate Git. For example, on Ubuntu:
> sudo apt-get install git
Configure Git
Set up your name and email address before starting to work with Git onyour computer. Git attaches this information to your changes and letsothers identify which changes are yours.
Run the following commands from the command prompt after installing Gitto configure this information:
> git config --global user.name 'Jamal Hartnett'
> git config --global user.email 'jamal@fabrikam.com'
Visual Studio offers a great out of the box Git experience without anyadditional tooling. Learn more in our Visual Studio Git tutorial.
Get started with unlimited free private Git repos in Azure Repos.
Update Git Mac Catalina
Robert is a content developer at Microsoft working on Azure DevOps and Team Foundation Server. |
About the App
Mac Os Update Git
- App name: git-lfs
- App description: Git extension for versioning large files
- App website: https://github.com/github/git-lfs
Install the App
- Press
Command+Space
and type Terminal and press enter/return key. - Run in Terminal app:
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' < /dev/null 2> /dev/null
and press enter/return key.
If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish. - Run:
brew install git-lfs
Done! You can now use git-lfs
.