How to Connect GitHub to your GitBash in 5 simple steps

How to Connect GitHub to your GitBash in 5 simple steps

Written by Ayodele Samuel Adebayo on Feb 23rd, 2022 Views Report Post

In this article, you will learn how to install and configure git on your system

Prerequisites:

  1. A Computer System
  2. A Github account.
  3. An internet connection
  4. That's all

**Note:**You cannot install git on your mobile phone

Click HERE to create an account if you don't have one yet

1. Download git from their official website https://git-scm.com/downloads

image.png

2. Ensure to read and select the useful available options during the installation

image.png

3. Wait for the installation to complete, check the Launch Git Bash box and click Finish

image.png

4. The next thing to do is to connect our Github Account to our Git Bash.

Run the following command to set up your name

$ git config <span class="hljs-operator">-</span><span class="hljs-operator">-</span>global user.<span class="hljs-built_in">name</span> <span class="hljs-string">"your name goes here"</span>

Click enter and run the last command to set up your GitHub registered email on Git Bash.

$ git config <span class="hljs-operator">-</span><span class="hljs-operator">-</span>global user.email <span class="hljs-string">"[email protected]"</span>

5. To get started quickly, right-click on the folder you want to use git on and select Git Bash Here

image.png

And that's all 💃💃💃

images.png

Hurray 🎉🎉🎉, you have successfully installed and connected Git to your GitHub account.

If you have any difficulties during your installation, let me know in the comment section, the good people of Hashnode community will also be ready to help out.

Comments (0)