Git on Synology

Finally got around to setting up my first Git repo on the Synology.

Some hints for future reference:

Repository creation:
Create folder /Volumex/main/project
cd project
git init –bare –shared
git config core.sharedRepository group
cd ..
chmod a+rwx -R project

On client:
git remote add origin ssh://user@diskstationip/volumex/main/project
git push -u origin master