Since `git__free()` is a no-op on a NULL value, there is actually no need to test the user/pass values and you can just free them always.