#!/bin/bash repo=$(mktemp -d) cd $repo git init git commit --allow-empty -m "Initial commit" cat > file < file <