How to convert a normal Git repository to a bare one?

How can I convert a ‘normal’ Git repository to a bare one? The main difference seems to be: in the normal Git repository, you have a .git folder inside the repository containing all relevant data and all other files making up your working copy in a bare Git repository, there is no working copy and … Read more