I currently have my yaml pipeline and my application's source code in two different branches and I was trying find evidence that what is being checked out is indeed the source code's branch and not my pipeline's branch but I see that the checkout call at the end of the git fetch is to a specific commit not to the specified branch name. This is my resources definition:
resources:
repositories:
- repository: RepoName
type: git
name: 'MyRepository' # repository in Azure DevOps
trigger:
branches:
include:
- UAT
and in one of my steps I do a checkout: RepoName. I was expecting a git checkout UAT after pulling the source code but as said I see a checkout of a specific commit. How can I be sure about branch being checked out?

