I managed to build a solution based on the ideas of several different people (thanks to all of you):
- Download the Git binary for Mac OSX git-scm.com . The downloaded DMG contains a PKG file.
- Unzip the PKG file using unpkg or something similar. (This step is necessary because usually PKG files can only be installed with root privileges.)
etc git, USB-.
, , USB-, git PATH (: export PATH=$PATH:/path/to/git/on/usb/stick), !
. git, , , , - . git init : warning: templates not found /usr/local/git/share/git-core/templates. , USB-, /usr/local. , , , .