I cloned my grav theme repository (https link) into app/code/user/themes and use it in one direction only by pulling changes with sudo -u www-data git pull to update the website.
The git-sync extension basically adds (automatic) pushing as well by initializing a git directory in the app/code/user directory.