Get current git branch name

git rev-parse --abbrev-ref HEAD


106
Ali

Get our stories delivered

From us to your inbox weekly.