Is there a git command to do the inverse of a git-clean operation? I want to delete the .git folder and all tracked files, leaving only untracked files and folders.
Background: I have a tendency to create note files and other context throughout my git repos. For example, I might create a hints file or Windows shortcut file that make it easy for me to jump to a folder with related content. When I make a new repo from the tip of a branch in another repo, I would like to add back in the context files. I'm looking for a procedure that would allow me to make a copy of the original repo structure, remove all git-related stuff, then copy what remains into the new clean repo I just built, effectively transferring all my non-git files from one repo to another.