If you're just doing an edit on main and push changes, git can do that fine just as well as svn, but no need to run a specific server on your laptop either, and in a client/server basis back to your home pi you just use standard ssh rather than running a special server.