Git Check If Local Branch Exists, This article will guide you … git branch -a shows both remote and local branches.