working with git from terminal Jan 6, 2023 | Sunil Dhaka install gh cli sudo apt install gh set up gh and authenticate just follow the prompt and can choose auth step either password or token that you have to generate on github website gh auth login And you are ready to rock.