An introduction to version control, easy to share/reproduce code, and more!
By: L. Darmet and JJ. Torre
GitHub is free but you may encounter limitations if you do not suscribe to GitHub Pro (4$ per month 💸)
Because of your academic or student status you can get Github Pro for free.
Apply here: https://education.github.com/benefits
Enter commands in GitBash for Windows and on terminal for Linux
First you need to create an account on https://github.com
Then we will need SSH key to have a secure and authentified connection
Use same email as registred on GitHub. Then press Enter
two times (no need to set a password).
On GitHub website go to: Settings > SSH and GPG Keys. Click on New SSH key and enter a title.
In the field Key paste all the contents of the file id_rsa.pub
that you have just opened, beginning at ssh-ras ...
up to your email (including it). You can copy with a terminal utility (such as xclip
) if copying by hand does not work
Click Add SSH key
As you have setup a secured SSH key, no need for password
Go back to you terminal where you have initialized your local repo:
They also handle the SSH keys for you