Revert "Refresh git configuration before looking for the tracking branch."

This reverts commit fc9e3a8b30a512c8d4149b45df48b0fddbea00d5.
++libgit2
Update calls for libgit2 interface changes.