added bp_git_get_reference_from_branch