Time out error while getting code from github

hello everyone,
i am getting the timeout issue while preparing build from GitHub, my Jenkins server is in aws Linux instance. Screenshot attached for reference, please suggest.


Jenkins setup:

This is not a timeout problem but a misconfiguration of your job. You want to build master branch but the repo has no master branch.