git: ignore CMake files.
Remove TN module links.
Fix signed/unsigned compare.