I came across issue #16 since I was trying to build git on Windows WSL2 and having the same error. The solution is either install TCL/TK or configure git with `./configure --without-tcltk`.