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

Wireguard “server-client” with roaming IP Setup


Power BI Performance Tuning Cheatsheet!

What Is Cloud-Native Architecture and Why Is It So Important?

My current achievements in Cosmos Ecosystem

Self-service Developer Workspaces in Endevor

Flutter Dropdown without SetState using BLOC

Ludwig Wittgenstein and quantum computer languages: A Plea To The Best Of The Best

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

Git, Github, what is it?

Setting Up Multiple Git Profiles for Fun, Work, and Profit

Git: Local vs Remote branch

Git and GitLab vs Github