Don't remove the git repos just exclude them from the tar file.