Adding a git.cpp with a basic implementation

- Updated the cmake files adding the new git.cpp file
- Adding include_directories to the cmake build.