When you move the files to where you want them, are you also moving the .git
directory? Depending on your OS and configuration, this directory may be hidden.
It contains the repo and the supporting files, while the project files that are in your /public
directory are only the versions in the currently check-out commit (master branch by default).