I have an Azure DevOps self-hosted agent installed, and by default there is an Externals/git folder, which contains an outdated version of Git: 2.28.0.windows.1.
The agent is running under a domain service account, and this particular account has the current version of Git installed: 2.39.2.windows.1.
However any pipeline which runs will use the dated version of Git which is installed under the agent folder.
When viewing the agent Capabilities, there is a PATH variable which does contain the correct path to the service account's Git cmd path, but this seems to be overridden somehow by the pipeline.
Is there no automated way to keep the Git version on the agent up to date? Do I need to manually copy Git folders from the current install into the agent folders?