Jenkins setup:
The message:
Fatal: could not read Password for ‘https://xxxxxx@github.com’: No such device or address
usually means that command line git was not provided a correct username or a correct password for HTTP authentication. Define a Jenkins credential with the username and personal access token or username and password for the repository that you are trying to access.
You might also refer to the video from Darin Pope: