remove branch locally and redownload it from git code example Example: git delete branch start with git branch -d $(git branch | grep yourSearchPattern)