Add some spec coverage for this, and make sure that Git is probably stubbed out where needed