I want to clone a GIT repo and NOT end up with a .git directory. In other words I just want the files. Is there a way to do this?
.git
git clone --no-chec
git --work-tree=/tmp/files_without_dot_git clone --depth=1 \ https://git.yourgit.your.com/myawesomerepo.git \ /tmp/deleteme_contents_of_dot_git
Both the directories in /tmp are created on the fly. No need to pre-create these.