Get current git branch name

git rev-parse --abbrev-ref HEAD


Ali

Get our stories delivered

From us to your inbox weekly.