This is what I have done so far and I will say this procedure worked on Ubuntu 9.10 which perhaps had a different version of git.
server: mkdir ~/git local:
At server side, do this:
git config receive.denyCurrentBranch ignore
Then you can push at local.