Say that I have a local git repo ("A") with a bunch of commits that I don't want to publish. 

If I copy everything that is in this local repo "A" except for the git directory into a new folder (let's call it "B") and git init another repo there, is there any risk of this somehow messing up the first named local repo ("A") and losing the commit history for that repo?