undoing git damage