apply changes to branch