Which Git version of config.yml on build is used?

Hi

When a CircleCI build runs, does the build use the config.yml from the commit it checks out from Git?