'How to switch git credentials to multiple jenkins pipelines jobs

I need to switch git credentials to multiple jenkins pipelines jobs I don't want to edit and change currently used credentials

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source