Fixes git export to support repositories with dots in their name
Added git clean to git export feature
This ensures that additional exports of the content are the
same the first.