code: func getBranch(projects []che.WorkspaceProject, codebaseURL string) string {
  	for _, p := range projects {
  		if p.Source.Location == codebaseURL {
  			return p.Source.Parameters.Branch
  		}
  	}
  	return ""
  }
docs: // GetBranch return branch of the Che project which location matches codebase URL