What is Git?
Git is a version control system that tracks changes in files over time. It allows developers to save different versions of a project and return to earlier versions if needed.
What is GitHub?
GitHub is an online platform that stores Git repositories. It allows me to upload my projects, track changes, and share my work online.
Commands I Used
These are the main Git commands I used for this project:
git init
git add .
git commit -m "Initial commit"
git remote add origin https://github.com/17tstowell/TSPortfolio.git
git push -u origin main
Branches
A branch in Git allows you to work on a separate version of a project. I used a main branch for my final project that I had to publish first in order for the push command git push -u origin main to work
How Git Works
Git works by tracking changes in snapshots. When I make changes, I first stage them, then commit them to save a version of my project. These saved versions create a history that I can go back to if needed.
My GitHub Repository
You can view my repository here:
Open GitHub Repository