mkdir shang.git

git init --bare --share

chown root:git test.git/ -R

chmod g+w . -R