The Jenkins git plugin clones remote git repositories into Jenkins workspaces on agents. The clone is performed by creating an empty local git repository then configuring it with 'git config' and populating it with 'git fetch'. Unfortunately, the most commonly used path through the code will call 'git fetch' twice.
The second call to 'git fetch' is useless when it is using the same arguments as the first call. It wastes server time, network bandwidth, and job time. With large repositories, that waste of time may be a minute or more.
The second call to 'git fetch' could be removed in those cases where the initial fetch uses the same arguments as the second fetch.
Implement changes in the plugin so that it skips the second call to 'git fetch' if the second call would use the same arguments as the first call.