GitHub from the Command Line: How I Push My Code

Why I Use GitHub I use Git to track changes in my code and GitHub to host it online. Git runs on my machine. GitHub is the website that stores my repos and lets me share them. If you’re new: Git is the tool, GitHub is where the repos live. Install Git Ubuntu: sudo apt update sudo apt install git Arch Linux: sudo pacman -S git Check it worked: git --version Set Your Name and Email Git attaches this info to every commit: ...

September 3, 2021 · 1 min · Saad