Remove cached git branches in Atom

I have deleted some remote and local branches in a git repo. Atom still shows the old branches under the git tab in the bottom right. How do we remove this cache?