Adding test code for Git