I have a non-version controlled directory containing a codebase. I have the same codebase in git.
How can I introduce git in that directory without changing any of the files. I'd like to see all differences as unstaged changes.
I suppose I can clone the git repo to another directory and move the .git subdirectory but I wonder if there are git commands to do this directly