The version of git 1.7.x which I updated to 2.9.x and the issue remains the same.
I have tried cloning from other machines, servers with similar setup and it worked. something individually wrong here.
I will update when I find a solution.
This error is due to a bug in the last update of the NSS packages on CentOS/RHEL 6.8.
Here a few links that discuss the issue:
We have reported it to RedHat and we're waiting for them to release a fix for both CentOS and RHEL 6.8. Until then we have rolled back to the previous working versions of the NSS packages and marked the ones you had as bad so that yum will skip them and update only after newer versions of the packages are released.
[root@econoline-perf]# yum versionlock list
Loaded plugins: fastestmirror, versionlock
versionlock list done
Good Versions (now installed):
[root@econoline-perf]# rpm -qa | grep nss.*3.21 | sort
I assume git has been using libraries from this package and so this should resolve the problem.