fatal: unable to access could not resolve host: GitHub

0 votes

 I am using the clone command in Git Bash, but it shows me the below error.

fatal: unable to access could not resolve host: GitHub

How can I solve this error?

Apr 10 in Git & GitHub by akhtar
• 10,330 points
509 views

1 answer to this question.

0 votes

Hi@akhtar,

This can be caused in incorrect proxy settings , or error typing name, make sure you're using the exact URL of whatever you're trying to do.

Try these commands.

git config --global --unset http.proxy

Also set user- name and user-email.

git config --global user.name "user name"
git config --global user.email "user email"

Hope this will solve your error.

answered Apr 10 by MD
• 22,520 points

Related Questions In Git & GitHub

0 votes
1 answer

Error: git pull fails “unable to resolve reference” “unable to update local ref”

This happens when there are unnecessary files ...READ MORE

answered Jul 26, 2018 in Git & GitHub by Sophie may
• 9,940 points
4,578 views
0 votes
1 answer

gerrit-cherry-pick:fatal: 'origin' does not appear to be a git repository

The user account making that command does ...READ MORE

answered Aug 13, 2018 in Git & GitHub by Kalgi
• 51,850 points
380 views
+1 vote
0 answers

Give full access permission to another user in GitHub

How do I give full access permission ...READ MORE

May 15, 2019 in Git & GitHub by Umer
293 views
0 votes
1 answer

fatal: unable to auto-detect email address (got 'none.(none)')

Hi@MD, When you installed git in your system ...READ MORE

answered Apr 29 in Git & GitHub by akhtar
• 10,330 points
129 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
492 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

fatal: refusing to merge unrelated histories.

Hi@akhtar, It means your work tree and the ...READ MORE

answered Apr 10 in Git & GitHub by MD
• 22,520 points
356 views