Create a bare git repository on USB, or sync with your local repository.
Copy git-usb
to your $PATH.
In your project git working repository:
$ git-usb
Script will scan the mounted disks and create bare repository if you don't have, or do push || pull update when you need.