Download Git repo without all the .git stuff?
As far as I know, the closest thing you can do is to do a git clone --depth=1
(to avoid retrieving more information from the server than you need for the latest version) and then delete the .git
directory afterwards. As far as git is concerned, the .git
directory is the repo; the checked-out files are just there for your convenience. :)