Partial implementation of mocks for testing presence of gitconfig