Skip to main content

Command Palette

Search for a command to run...

How to Connect GitHub to your GitBash in 5 simple steps

Updated
β€’1 min read
How to Connect GitHub to your GitBash in 5 simple steps
A
Software engineer and developer educator with over four years of experience building production-grade digital products for platforms serving millions of developers globally. Software engineer at Hashnode & Bug0

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 --global user.name "your name goes here"

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

$ git config --global user.email "unclebigbay@hashnode.com"

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.

S

Sorry, how do I connect to remote duplicate repo on github from gitbash ?

A
akano3y ago

short and straight forward

2

More from this blog

U

Unclebigbay's πŸš€ Blog

101 posts

Software Engineer | Open-Source Contributor | Developer Educator