[minor] call gitName on cd as well, simplify inclusion