knotserver: git/service: refactor execution of git service command
authored by tjh and committed by Tangled 9 months ago afbdb8b2 6ec3a3d5