1. Move into the project folder.
2. Place the following commands.
git init git add . git commit
3. Move out from the working project and create bare git repo.
git clone --bare [path to working project] [git project name].git
4. Copy created .git directory to shared folder.
References