git-export
I recently needed to grab a git repository, but I had no interest in cloning it or putting it into my current project as a submodule. What I wanted was a simple way to export the repository like you can with svn using svn export. I looked around for a solution, but couldn’t find one that I felt behaved exactly like svn export. So I decided to write my own git-export command, once installed you can simply run:
git-export [git-repository-url] [optional destination]
What it does is actually pretty simple, it just clones the repository and removes the .git directory. That’s all I needed it to do, no more, no less, you can add this to your git arsenal by grabbing a set of git utilities that I forked at : http://github.com/vanntastic/git-utils , install instructions are provided on the readme.
