Update commitsFromBranch.sh