I have a server on which I have a bare repository for pushing. However, my server needs to have a working copy of the master branch.
How do I get a working copy and
I was looking for the "detached working tree" approach (as seen here):
git init --bare git config core.bare false git config core.worktree /somewhere/else/ git checkout -f