I actually combine that, Git and Syncthing for different needs.
Details here: https://www.dsebastien.net/how-i-synchronize-and-backup-my-o...