What Is Git?
Git is a version control system that helps developers keep track of changes made to files. It allows you to save versions of your work over time, so you can go back to an earlier version if a mistake is made.
What Is GitHub?
GitHub is an online platform that stores Git projects. It allows developers to upload their code, back it up, and share it with others. GitHub also makes it easy to publish and update websites.
How I Uploaded My Portfolio
I created a new repository on GitHub and uploaded my portfolio files using the file upload feature from my computer’s file explorer. This allowed me to add all of my site files without using the command line.
If I were using Git commands, the basic workflow would look like this:
git add .
git commit -m "Upload portfolio site"
git push origin main
Branches
I worked directly on the main branch for this project since it is a solo portfolio site. No additional branches were needed because there was no collaboration or experimental work.
GitHub Repository
You can view my GitHub repository here: