Using a callback to get the GIT repo branch name