This repository is dedicated to learning and practicing Git commands. It contains hands-on examples, notes, and real command usage for mastering Git version control.
- Understand how Git works under the hood
- Learn basic to advanced Git commands
- Practice real-world Git workflows
- Create branches, merge, rebase, stash, cherry-pick, etc.
- Work with GitHub (clone, push, pull, PRs)
git initgit add,git commitgit status,git loggit branch,git checkout,git switchgit merge,git rebasegit stash,git reset,git revertgit remote,git push,git pull,git fetchgit tag.gitignore- Working with GitHub
git init
touch file.txt
git add file.txt
git commit -m "Add file"
git branch new-feature
git checkout new-feature
# edit file
git commit -am "Update file on new-feature"
git checkout main
git merge new-feature- I will keep updating this repo with:
- Real use-case experiments
- Mistakes and how to fix them
- GitHub interaction
Hamza Ahmad
2nd Year Computer Science Student at UET
π Pakistan | π Learning Full Stack Web Dev
I'm open to internships , remote jobs , freelance projects, or tech collaboration.
Hamza Ahmad
π GitHub: HamzaAhmad-098
- π§ Email: HamzaxDevelopers
- π Portfolio: https://portfolio.hamzaxdevelopers.dpdns.org