cat ~/.ssh/id_ed25519.pub
To move code from the laptop to , Alex needs a secure "handshake." While they could use a password, the modern way is the GitHub CLI (Command Line Interface). Install CLI : sudo apt install gh install github ubuntu
(Note: If your system is very old and doesn't support ed25519, use ssh-keygen -t rsa -b 4096 -C "your_email@example.com" ) . cat ~/
Git is like a diary; it needs to know who is writing the entries. Alex tells Git their name and email so every "save" (commit) is signed. git config --global user.name "Alex Developer" git config --global user.email "alex@example.com" Step 4: Connecting to the Cloud (GitHub) Alex tells Git their name and email so
Now, when git push or git clone asks for a password, use this token instead of your account password.