Get list of all branches

January 18, 2025 ยท View on GitHub

git for-each-ref --format='%(refname:short)' refs/heads/*