Fixed copy paste error; Yes I used FindGit.cmake as a template