GMAC Mortgage last week signed an agreement to acquire Pacific Republic Mortgage in a deal that it expects will expand its presence in California. Pacific Republic is a privately held mortgage banking firm based in Anaheim, CA, with 31 retail offices in seven western states. The company funded $7.9 billion in mortgages during 2003, about half of which came through retail and half through its wholesale broker channel.