Question: "How can I export svn style using git?" "How can I change tires on basketball?" You cannot, but this is not a basketball mistake. Yes, it's rubber and full of air, but the similarities end there.
You only need to “export” using svn, because it pollutes every single subdirectory using the .svn directory. Git does not do this, so you really don't need it. A clone is an export, with only one directory in the root directory in which the entire repository lives.
The easiest way is to clone the repo and then just delete the .git directory from the top level of the repo. Do it and it’s not a repo anymore, it’s just an offline file directory.
Or, you know, ignore Git all together and just use the cloned files. This also works.
source share