Like svn export, for git.