How to change Git Remote URL locally?

How to change Git Remote URL locally?