Use git to replay part of a bash pipeline.