Reformats git structure.