geogig shp export <refspec>:<path> <shapefile> [-o]
This command exports features from a feature type into a shapefile.
The feature type can be defined using the <refspec>:<path> notation, so a feature type from a different tree can be exported.
If no origin tree is specified and just a feature type name is used, the working tree will be used, so
mypath is equivalent to
If the output file already exists, it will not be overwritten, unless the
-o modifier is used.
|-o||Overwrite the output file in case it already exists.|
Discussion is still open.