| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 04:21:24 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090726062646
location: https://web.archive.org/web/20090726062646/https://github.com/guides/get-git-on-mac
server-timing: captures_list;dur=0.611137, exclusion.robots;dur=0.049596, exclusion.robots.policy;dur=0.038332, esindex;dur=0.010521, cdx.remote;dur=23.103343, LoadShardBlock;dur=130.566071, PetaboxLoader3.resolve;dur=50.537692, PetaboxLoader3.datanode;dur=76.958405
x-app-server: wwwb-app219-dc8
x-ts: 302
x-tr: 180
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app219; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 04:21:24 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sun, 26 Jul 2009 06:26:46 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 427ms
x-archive-orig-etag: "42da7d5d89c470b6088d3c00c41cabcf"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 8457
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 26 Jul 2009 06:26:46 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_10_20090726042717_crawl100.gpg-c/51_10_20090726062527_crawl101.arc.gz
server-timing: captures_list;dur=0.779596, exclusion.robots;dur=0.025239, exclusion.robots.policy;dur=0.010920, esindex;dur=0.015060, cdx.remote;dur=9.892359, LoadShardBlock;dur=128.144531, PetaboxLoader3.datanode;dur=108.174825, PetaboxLoader3.resolve;dur=104.259536, load_resource;dur=105.980785
x-app-server: wwwb-app219-dc8
x-ts: 200
x-tr: 282
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Get git on Mac - Guides - GitHub
Guides: Get git on Mac
Guides: Get git on Mac
There are a few methods to install Git on a Mac. You can acquire it:
via the Installer
Download and install: git-osx-installer
via MacPorts
- Install MacPorts if you haven’t already done so.
- Make sure your ports are up to date.
$ sudo port selfupdate
MacPorts base version 1.600 installed
Downloaded MacPorts base version 1.600
The MacPorts installation is not outdated and so was not updated
selfupdate done!
- Install Git
$ sudo port install git-core
---> Installing curl 7.18.2_0
---> Activating curl 7.18.2_0
---> Installing openssh 5.0p1_0+darwin_9
---> Activating openssh 5.0p1_0+darwin_9
---> Installing p5-error 0.17012_0
---> Activating p5-error 0.17012_0
---> Installing popt 1.13_0
---> Activating popt 1.13_0
---> Installing rsync 3.0.2_0
---> Activating rsync 3.0.2_0
---> Installing git-core 1.5.5.3_0+doc
---> Activating git-core 1.5.5.3_0+doc
You may want to include Subversion support if you want to import SVN repositories.
sudo port install git-core +svn
via compiling manually
See compiling and installing git on mac os x.
Other Mac-related Git links
Last edited by tycho, 5 months ago
Versions:
This feature is coming soon. Sit tight!

