Azure DevOps - Git branch name
Describe your idea
AzureDevops checks out Git branches in detached mode, resulting in git.branch being populated with the commit hash.
Expected Behavior
The branch name can be populated from BUILD_SOURCEBRANCHNAME environment vaiable as per Azure Devops / Azure Pipelines - Build variables
Additional context
Will provide a pull request soon with proposed changes for review.