extract server-side git commands to constants