From Code to Performance

Exercise 1: Git & Github Practice Material

Objective: Learn to initialize repositories, add and commit files, and check status/history.

Exercises

Commands to Practice:

git init
git status
git add notes.txt
git commit -m "Initial commit"
git log

2. Remote Repository Practice

Objective: Learn to connect local repositories to GitHub.

git remote add origin https://github.com/username/git_practice_repo.git
git branch -M main
git push -u origin main
git add todo.txt
git commit -m "Add tasks"
git push

3. Branching and Merging

Objective: Learn how to create branches, make changes, and merge them.

Exercises

Commands to Practice:

git checkout -b feature-update
git add feature.txt
git commit -m "Add new feature"
git checkout main
git merge feature-update

4. Challenge Mini-Project

Objective: Apply Git & GitHub workflow in a small project.

Task:

Create a simple "Personal Notes Organizer" project: