I need to download zip/tar Git repositories from Github and get not just the source but also the .git directory.
I'm aware I could use
git clone, but this is for an tool that runs on systems that may not necessarily have
git installed. Zipped repos are downloaded (doesn't require
git) and after that I would like the .git directory there so users who do have
git have a fully working git repo and can start branching, etc.
Anybody know of a Github endpoint or flag that includes the .git dir in zips?