Borrowed from Latin gerere, with change of conjugation.
Practice speaking and memorizing "gerir" and many other words and sentences in Portuguese.