Instantly share code, notes, and snippets.
From Bash count the number of remote branches a git repo contains:
git branch -r | wc -l