Rough sketch of a working git conolse and end-to-end test