![setup git on mac setup git on mac](https://miro.medium.com/max/1400/1*txjyJDgAyp5jjyp_iyh6xg.png)
SETUP GIT ON MAC INSTALL
You will need to install Git from the source by following the instructions from this Digital Ocean tutorial.
SETUP GIT ON MAC UPDATE
MacOS already comes with a version of Git, but you should update to the latest version. Follow the next steps as stated in your terminal (copy and paste the commands given) to add Homebrew to your PATH, which allows you to use the brew command prefix. Reading the terminal may seem a bit intimidating, but this is a great chance to overcome those feelings. Further down in the terminal there will be a section called “Next steps”.
![setup git on mac setup git on mac](https://i.imgur.com/48uur3D.gif)
If you look at the terminal output after installing Homebrew, you will see “Installation Successful!”. Note: On an Apple Silicon Mac you will have an extra step to take. Once you meet the requirements, copy and paste the following into your terminal: /bin/bash -c "$(curl -fsSL )" Make sure you have checked the requirements here. MacOSįirst, you’ll need to install Homebrew. Make sure your git version is at least 2.28 by running this command: git -version You likely have git installed already, but to make sure that we have the most up to date version of git, run the following commands: sudo add-apt-repository ppa:git-core/ppa Run these commands in the terminal to update the Linux system: sudo apt update Step 1: Install GitĬlick the Operating System you have chosen below: Linux GitHub and Git are not the same thing or even the same company. GitHub is a service that allows you to upload your code using Git and to manage your code with a nice web interface. There are many lessons focused on Git later in the curriculum. You’ll become very familiar with this piece of software throughout TOP, so don’t worry too much about understanding it at this point. Git is a very popular version control system.