Install Git For Mac

  1. Install Git For Mac Download
  2. Github For Mac

The following instructions are for installing Git for Windows or Git for Mac client software. If you are installing Git into a Linux distro (including the Windows subsystem for Linux) then use the standard module install commands for the distribution. For example, the commands for Ubuntu would be sudo apt-get update && sudo apt-get install git. For Mac, use an alternative Git client (there is a lot). – Lex Li Apr 7 at 17:42 unfortunately I didn't find the answer and I used 'sourceTree' instead of 'gitExtension' for mac – Nadia Jul 9 at 7:22. A free Git client for Windows and Mac. Sourcetree simplifies how you interact with your Git repositories so you can focus on coding. Visualize and manage your repositories through Sourcetree's simple Git GUI. 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 https://www.visualstudio.com. There are a couple of ways to install Git on MAC OS. The easiest way to do it would probably be to install the Xcode Command Line Tools. This will work on Mavericks (10.9) or above, so it should cover you. If you are running on OS older than that I would recommend you look into upgrading that first. Use Git version control software to manage project code - Narrator In this movie, we're going to learn how to install Git on the Mac operating system. The missing package manager for macOS (or Linux). It's all Git and Ruby underneath, so hack away with the knowledge that you can easily revert your modifications and merge upstream updates.

Hello. Mac running OS X 10.7.5 and Git is not installed in my machine, presumably. In Terminal, git -v yields '-bash: git: command not found'. Can't proceed with Installing a Ruby Development Environment module until I have Git installed. Where can I grab this download? Thank you for your input. Also, after installing, anything else I need to run to get it up and running? Thanks again.

While not needed to install Git (you could get it from the link Ryan supplied), I'd advise you to check out homebrew, http://brew.sh - a package manager for OS X. With homebrew installed you can easily install git and keep it up to date.

If you do decide to use brew - after installing, open up a terminal and run;

And that should sort you out with the latest stable version.

That's an awesome link. I'll keep this mind when I start to learn the Mac OS in more detail.

Hi Ben, do you know if this is compatible with OS X 10.7.5? First, I am going to uninstall the git version I downloaded earlier (from the link Ryan provided). Before I install homebrew, however, please let me know about the compatibility. Thank you.

The brew install succeeded but the git install failed. Looks like I have to first update Xcode to 4.6.3, according to brew doctor. So I am doing that at the moment. Fingers crossed.

No luck installing git, unfortunately. brew update reveals it is up to date. And brew doctor is issuing no warnings. May have to reinstall Xcode?

Reporting success installing git via brew. I needed to install the Xcode Command Line Tools. Once installed, 'brew install git' ran through without issues. Version is 1.7.12.4 Thank you, Ben.

Hey gbp sorry for the late reply! Different time zones! Hope you got on ok. One thing to note is that after you've installed Xcode Command Line Tools I have a feeling you need to run Xcode and accept the Terms and Conditions that pop up in order to stop the possibility of further problems down the road that are to do with permissions. Hope you managed to get it sorted!

Hello Ben, thank you. Got on ok. Brew doctor was graceful in guiding me and indeed suggested that I accept the Xcode terms & conditions which I did promptly. Thanks again for your guidance.

Hi Ben,

I know this might be repetitive, but I am having a problem updating git on my computer.

I'm running OSX 10.7.5 - while I downloaded homebrew and am pretty sure it's working correctly because I've tried downloading the latest git via 'brew install git' it says I downloaded it already.

I believe that my problem is that when I run 'which git' I still get: /usr/bin/git

When it's actually supposed to be: /usr/local/bin/git

It's my understanding that if you run: export PATH=/usr/local/bin:$PATH that should fix things but what happens then is the updated git is installed at: /usr/local/bin/local/bin/git

Then when I run: git --version I get an error.. so I found out how to delete it.

Maybe it has to do with my .bash_profile?export PATH=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin export PATH=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/gems/ruby-1.9.3-p392/bin:/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p392/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin

Any help on this? I have been working hours on it.

Thanks,Alex

Install

http://git-scm.com/
Should be able to get everything you need

https://mac.github.com/For when you want to show employers your source code and projects on your resume

Let me know if it solves your problem

Thanks, Ryan and Ben. Ryan, I downloaded from your link and hopefully this will get me moving forward. After installing, I went to Terminal and ran git -v but now getting 'Illegal instruction: 4'. What is the meaning of this? Maybe it has something to do with my Mac being on an older version of OS X? 10.7.5 to be specific. Anyway, I'll see if I can proceed downloading the Ruby dev env.

Install Git For Mac Download

That's exactly what it is. I've manage to find this for Illegal instruction 4

Thanks, Ryan. Visited the stackoverflow link and how do I make '-mmacosx-version-min=10.5' work for me? I am sorry but I am not at all well-versed with interacting with the console. Thank you for guiding me.

Try typing that into the terminal first and let me know what comes up.You might need to try and download an earlier version of git if your computer is on an older version

Hmm, this is getting beyond my ability to solve it. I'm not sure on exactly what to do next. Sorry that I couldn't be more help. I would just try to find documentation on the issue for git and mac from this point on.

Ryan, thanks for all your help and no worries. Installing git via brew succeeded. Read further above for the reasons the installs were failing. Probably for the same reasons your suggestion earlier failed as well. But brew gave lots of useful guidance to resolve. Otherwise I would have never known what to do.

Format wd my passport mac

Github For Mac

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.