Test what files are checked in to git.

As well as testing that all files are checked into git when using git
transactions, test that the files actually checked in are exactly the
expected ones.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>