Create function for setting up a git repo from CMake