cleanup: restore git references