Interview Prep/Git & GitHub/Rapid-fire commands

Print the current branch name (script-friendly).

BeginnerProductionRapid-fire commands
Answer
git branch --show-current
All Git & GitHub questions Roadmap: Git & GitHub

More on Rapid-fire commands