RenameBranchCommmit condition fixed