a small bash script based on @fhucho's answer:
#backup.sh
#remove final "/"
repo=${1%"/"}
#create $repo-backup.zip
cd $repo
git ls-files --others --exclude-standard --cached | zip --names-stdin ../$repo-backup.zip
cd ..
ls -l $repo-backup.zip
usage:
. backup.sh myrepo