Kickstart your Git journey with this hands-on exercise tailored for absolute beginners.
-
Fork and Clone this repo
-
Create a feature branch for your work
-
Customize your own profile card file
-
Commit, push, and open a pull request
By the end, you’ll have executed your first collaborative Git workflow and seen your contribution appear live on the page!
- Git installed locally (
git --version) - A GitHub account
- A code editor (e.g. VS Code) or terminal
- Fork this repository
- Fork to create your own copy under your account.
- Clone the repo
git clone https://github.com/ssbarik/geecoding-git-starter.git cd geecoding-git-starter
Each student will add a personal profile card in its own file.
-
Create a new branch (use your GitHub username as scope)
git checkout -b <your-feature-branch>
-
Copy the template into your own file
cp students/template.html students/<your-username>.html
-
Edit students/
<your-username>.html -
Commit & push your changes
git add students/<your-username>.html git commit -m "Add profile card" git push --set-upstream origin <your-feature-branch>
-
Open a Pull Request on GitHub against the
mainbranch. Once approved, your card will appear automatically on the page.
Happy coding—and welcome to the world of version control!