Add local mirror script.

Gets all branches as local branches.