Mun Johl <Mun.Johl@xxxxxxx> writes: > Due to some "security precautions", I am unable to use 'git clone > https://git.kernel.org/pub/scm/git/git.git' to download the source > code. But I can try to figure out a workaround for that if that > is my only option at this point to successfully compile git. If building from tarball extract fails with "not a git repository" there is something very wrong with what you are doing, and we do not know what it is. Most likely cause new folks fail to build from the source is lack of necessary development libraries and packages that need to be installed in their build environment, but I am reasonably certain that if a tarball extract build is failing due to their environment, build in a clone of the source repository would fail for exactly the same reason.