Install Git Client on OS X without admin rights

I need to run a git client on an OS X 10.6.6 machine to which I don’t have admin rights.

Now unfortunately, the installer from http://code.google.com/p/git-osx-installer/ has no option for a local install, so it just doesn’t work without having an admin account.

What is the fastest / easiest way to install git, e.g. in ~/bin ?

Note: While I can download zip archives from GitHub (from which my projects come), I need to be able to quickly pull new commits, so this is not an option.

Fink has no binary for OS X 10.6, and the MacPorts installer doesn’t work either without admin rights.

  • Bash script running from launchDaemon on MAC - not connecting to jenkins
  • Trouble using gcloud init
  • How to enable branch hints in Mac OS git?
  • Using OS X FileMerge/opendiff to view git differences, loading all files at once in the directory view
  • Can't switch branch: untracked working tree file because of case-insensitivity?
  • Glassfish v4.0 cannot work on Mac OSX 10.6.8 + JDK 7.0 U40
  • What is the best multi-platform SVN GUI client?
  • GitHub commit with extended message
  • 2 Solutions collect form web for “Install Git Client on OS X without admin rights”

    Download Git source code and compile.

    ./configure --prefix=$HOME/local
    make
    make install
    

    Edit .bashrc or whatever to change PATH.

    PATH=$HOME/local/bin:$PATH
    

    I’d use homebrew to install git as a local user. That’s a whole lot easier to update and gives you the chance to use the whole infrastructure to install even more goodies.

    https://github.com/mxcl/homebrew

    Git Baby is a git and github fan, let's start git clone.