Set up Git and GitHub
Last updated
Last updated
Set up a GitHub account at
(two-factor authentification) for your account and at least one way to it.
Set up connection over HTTPS:
GitHub CLI - GitHub's command line tools. If the instructions don't work for you, see more detailed instructions .
In a terminal, run gh auth login
. It will ask you several questions. Here are the answers you should give:
Copy the code, press Enter, the browser will open. Paste the code, follow instructions on the website to confirm you are you.
(only if you have a strong reason to use SSH) Set up connection over SSH:
If you've used SSH before: follow GitHub instructions .
If it's your first time, ask Zhenya to write a short version on this page.
Find your operating system. See the list of programs that let you install gh. If you have one of those, go to the instructions for that program and run the command in a terminal. If you don't know whether you have any of those programs, just try every command for your operating system. Did one of them work? If yes, you are done. If not, we will need to install one of those.
Do you have admin rights on your computer or can you find someone who does?
No.
Click the "releases page" on the page with GitHub CLI installation instructions.
Find one that...
GitHub CLI (gh) instructions to install are .
Yes. homebrew.