Checkout the gitconfig file if necessary to prevent the clone from failing.