gitpair.sh: use function to DRY up pair definitions