move document to another branch