git accidentally committed to detached head