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
In case you have a repository with few local checkedout branches /refs/heads/* and few remote branch branches remotes/origin/* AND if you want to convert this into a BARE repository with all branches in /refs/heads/*
you can do the following to save the history.