DEV Community

Cover image for All About Git & Git-Hub: Beginner's guide on relationship between git& git-hub, installation, linking both tools to launching.
seme clive
seme clive

Posted on

All About Git & Git-Hub: Beginner's guide on relationship between git& git-hub, installation, linking both tools to launching.

Introduction: Understanding Git and Git-hub
If you are a beginner, it's important to understand the difference between the two tools, git and git-hub:
So, what's Git? What's it used for?
Basically, Git is a popular version control system which is used to>track code changes

coding collaborations between developers
tracking who made the changes
On the other hand, What's git-hub?
Git-hub is a proprietary developer platform that allows developers to create, store, manage, and share their code. It uses Git to provide distributed version control and GitHub itself provides access control, bug tracking, software feature requests, task management, continuous integration, and wikis for every project.
That's how i got to understand it 1st as a beginner, let's go now to the steps of installation, opening account up to linking, how I hacked it:

_Step 1: **Opening a Git-hub Account,
These the first step before anything else, you need to sign 9up and create your account.
Here is the link; https://github.com/

Step 2: **Downloading Gitbash APP and Launching it; **
The download should be the latest version; https://git-scm.com/install/

Launch the app
Confirm the version;

*Step 3: Git configuration/set identity; *
Here you need to set your identity for git to know who you are and configure email used to open git-hub account on git.
That is your username and user email as seen below;

*Step 4: Confirm the Configured Identity: *
You have to command git to see the user identity created. These to verify that all were created,
Here is the command line;


Note: make sure email used in signing up the git-hub account is the one you configuring git with.
Step 5:Generating an SSH key/Connecting Git to Git-hub;
What is an ssh keY?Its a key that proves wat the machine is in order to access git-hub (it's a key that assist link git and git-hub)
As seen on my command,it shows user already exists as i had already configured, for a new user creatin one it will give you a pass key which you copy paste on git-hub


*Step 6: Paste key on git-hub ssh agent; *
After creating the passkey, login to git-hub,go to settings-ssh & gpg keys.
paste the key on the ssh agent. Then connect, it will send a mail confirming the connection.

Step 7;Open a project folder on git hub.
Step

**_

Top comments (0)