You are currently viewing Login git from ubuntu

Login git from ubuntu

Setting up Git

Download and install git with the command:
sudo apt install git

Authenticating with GitHub from Git

First, install gh

sudo apt-get install gh

and then type the command

gh auth login

Follow the steps and log in the GitHub through browser login or use the token to log in.

 

You have git and GitHub all set up. Now you may use a repository to store your code and share it worldwide.

Leave a Reply