Added selectors and logic to handle branch name copying