I'm pushing the majority of my git projects to github for the simple reason that 1. they are public and hence do not need to remain hidden from the rest of the world, and 2. they usually leverage open source technology which has been tweaked in some way and that could help others.

However, there are specific personal projects and notes I do version using git and that I do not wish to send to the likes of Github, Bitbucket, et al.

As a huge advocate of data privacy, I tend to keep my private stuff private, and that means not using a third party (regardless of whether they offer private repos or not).

Long story short, you'll find below the list of actions I have carried out to setup and use my (very own) Synology Git server.


  1. Install git on your synology (help: you'll find the Git server application in your Package Center)
  2. Enable SSH (help: by navigating to Control Panel > Terminal & SNMP > Terminal)
  3. Using the terminal (or putty if you're on a windows machine), ssh into your synology by running:

    ssh you-user@your-synology-ip (+ type your synology password)
    eg: ssh johnny@
  4. On your synology , create a folder to host your git project
  5. Navigate to your local project folder and run:

    git init
    git remote add origin ssh://johnny@
  6. Push your project to your synology by running the usual:

    git add --all
    git commit -m "initial commit"
    git push origin master
  7. Bob's your uncle 😎