How to setup your Git, Github account on another computer

Generate a new SSH key

$ ssh-keygen -o -t rsa -C ""
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/username/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):Enter same passphrase again:

Add public key to Github

$ cat ~/.ssh/
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA879BJGYlPTLIuc9/R5MYiN4yc/YiCLcdBpSdzgK9Dt0Bkfe3rSz5cPm4wmehdE7GkVFXrBJ2YHqPLuM1yx1AUxIebpwlIl9f/aUHOts9eVnVh4NztPy0iSU/Sv0b2ODQQvcy2vYcujlorscl8JjAgfWsO3W4iGEe6QwBpVomcME8IU35v5VbylM9ORQa6wvZMVrPECBvwItTY8cPWH3MGZiK/74eHbSLKA4PY3gM4GHI450Nie16yggEg2aTQfWA1rry9JYWEoHS9pJ1dnLqZU3k/8OWgqJrilwSoC5rGjgp93iu0H8T6+mEHGRQe84Nk1y5lESSWIbn6P636Bl3uQ==

Setup your Git

git clone
cd TestingApp
git pull
$ git config "Mona Lisa"
$ git config ""
$ git config user.username "myusername"
$ git config --list
... Lisa





Sr. Full-stack Web and Mobile Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Beginners SQL Project: College Management Database

Helm Charts Testing

REST API authentication in Flask.

Let’s Play: wanna PUSH or SWAP

How we built Melio’s payments platform on AWS Serverless

A Drawing a Day, Week 8

Build a minimalist gradient generator with Javascript and jQuery.

NFT limited pre-release MASCOTS sale. Become part of ChiArt!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alberto Jose Aragon Alvarez

Alberto Jose Aragon Alvarez

Sr. Full-stack Web and Mobile Developer

More from Medium

Installing MySQL on MacOS and making your First Schema

How to create an awesome Github Profile README ?

Github Workflow | How powerful it can get! :P

Introduction To Git & GitHub