Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8049779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:52:50+00:00 2026-06-05T06:52:50+00:00

Firstly apologies if this is a really simple question but Git is absolutely brand

  • 0

Firstly apologies if this is a really simple question but Git is absolutely brand new to me. Basically I’ve been dabbling with a bit of iOS development for a little while and now have a project idea that I want to start working on and for the first time I’m planning on putting this into source control.

Now I know Xcode 4 has some Git integration but I’ve spotted a couple of posts that suggest the integration isn’t that great and it’s better to do it the command line way.

So, I’ve been following instructions here http://git-scm.com/book/en/Getting-Started-Installing-Git and I’ve downloaded version 1.7.10.3 for Mac and ran the install.

However when I run git –version I get version 1.7.4.4 which is the version that was installed with Xcode I assume?

My question is, how do I make use of my new version 1.7.10.3? The plan is to learn to use Git via command tools and set up a central repository on a server I have at home, then have local copies on my laptop.

As I say I’m really new to this, so a quick step by step idiots guide would be helpful. I have searched and tried to find details here and on google but other than the suggestion to use Git outside of Xcode I’ve not found out exactly how to do it.

Any advice, or links to a decent tutorial that covers this would be very much appreciated.

Update:

I’ve changed the path to the new path in .bash_profile (/usr/local/git/bin) and now get git version 1.7.7.5 (Apple Git-26). This still appears to be the wrong version (although this could be me being dense). I downloaded the installer for OSX from the above link. Should I be doing something else. I want to play around with the command line tools so I can get a proper understanding

Update 2:

I’m now also trying MacPorts as recommended in the article. This seems to be downloading a lot more than just Git though

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T06:52:52+00:00Added an answer on June 5, 2026 at 6:52 am

    Xcode installs git in /Applications/Xcode.app/… but if you run ‘Install Command Tools’ then git gets installed also in /usr/bin/git. Xcode uses its private version in Xcode.app. If you installed git in /usr/local/git/bin then you need to include that directory in your PATH. You should have a .bashrc file (or equivalent for whatever shell you are using). Add

    PATH=/usr/local/git/bin:$PATH     # your shell might use different syntax.
    

    to that file ‘rc’ file.

    Also, note that Xcode would allow you to accomplish your goal of setting up a remote at home while maintaining a local copy on your laptop. Go to the Xcode ‘organizer’ and click ‘repositories’. There you will find all your machine’s Git repositories. Choose one, select the ‘remotes’ folder and then ‘+’ to add your home remote. I use Xcode this way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Firstly apologies if this is really simple but I have spent hours trying and
Firstly, I'm new to Android (so I apologize if this question is ignorant) but
Firstly, I apologise if this is a really simple question to those with more
Firstly apologies if this a very basic question, I'm just curious to know the
Firstly: apologies if this is a duplicate post. Things got a bit confusing as
Firstly apologies for the length of this question, and for asking about the Facebook
Firstly, I do not have any malicious intent out of this question. I would
Firstly, apologies for the vague title, but I'm not sure exactly what I'm asking
Frstly my apologies if this is a duplicate question. I have tried to find
firstly, I very much apologize for my poorly written title of this question. So

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.