Add cherry functionality to git branch function