I am trying to set up a Jenkins Windows slave which will pull from GitHub using Git Bash. I have installed Git Bash on my Windows server so it is available through the Windows command prompt. When I try to invoke any Git command that goes to GitHub it always asks for my credentials.
How can I set this up so it does not ask for my credentials?
Points to note:
I am testing it by invoking from the Windows cmd and not the Git Bash shell as I believe this is how Jenkins will call it.
If it isn't possible, how do you connect to GitHub from a Jenkins slave via Git Bash without it asking for credentials?