Checking the environment variables and also HTTP configuration options does not reveal something. Is there a way to do this?
For those that are using Ubuntu/Debian, the best way to have the latest git version is following the steps below, taken from here.
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
Updating for a version 2.19+ plus the solution above, proposed by Anthony C Howe has solved my problem.