add test code in test_git_subm.py
reqrite export_repository with https://github.com/Kentzo/git-archive-all/blob/master/git-archive-all