Revert "add git.c"

This reverts commit 43e93454709bc11aaef630ce470c6cd14bf8c523.