# Functions
AddGitProtocolEnv checks whether the request has Git protocol v2 and sets this in the environment.
BareCommand creates a git.Command with the given args, stdin/stdout/stderr, and env.
BuildGitOptions helps to generate options to the git command.
Command creates a git.Command with the given args and Repository.
CommandWithoutRepo works like Command but without a git repository.
IsValidRef checks if a ref in a repo is valid.
ValidateRevision checks if a revision looks valid.
Version returns the used git version.
# Constants
ProtocolV2 is the special value used by Git clients to request protocol v2.
# Variables
FallbackTimeValue is the value returned by `SafeTimeParse` in case it encounters a parse error.
# Interfaces
RequestWithGitProtocol holds requests that respond to GitProtocol.