Simple GIT repository exporting for PHP 5.3.2+