# Functions
AddAuthorInfo adds environment variables to `cmd.Env` that set the Git author and committer to known values and set the timestamp to `*timestamp`.
CleanGitEnv returns a clean environment for running `git` commands so that they won't be affected by the local environment.
NewTestRepo creates and initializes a test repository in a temporary directory constructed using `pattern`.