Get current branch name

January 18, 2025 ยท View on GitHub

git branch | cut -d ' ' -f2