cmake: execute git from src directory