Shared code to test git