moved and cleaned up method Reference::destroy
added method Reference::rename
added method Reference::move to set a new target commit