added option --no-gc to suppress git garbage collection