Add test cases for Git extraction