1 10 20 30 40 50 601#!/bin/sh2set -eu34operation=${1:-}5[ "$operation" = get ] || exit 067protocol=8host=9while IFS='=' read -r key value; do10 case "$key" in11 protocol) protocol=$value ;;12 host) host=$value ;;13 esac14done1516[ "$protocol" = https ] || exit 017[ "$host" = "${GIT_HOST:-}" ] || exit 018[ -n "${GIT_USERNAME:-}" ] || exit 019[ -n "${GIT_PASSWORD:-}" ] || exit 02021printf 'username=%s\npassword=%s\n\n' "$GIT_USERNAME" "$GIT_PASSWORD"