Exercise 05: GitHub Remote¶
Goal¶
Connect a local repository to GitHub.
Tasks¶
- Create an empty GitHub repository.
- Copy its HTTPS or SSH remote URL.
- Run
git remote add origin <url>. - Run
git remote -v. - Push with
git push -u origin main.
Reflection¶
- What does
originmean? - Why should you review files before the first push?