HamzaAhmad-098 / learning--git

leπŸ“š A hands-on repository for learning Git CLI commands and GitHub Desktop workflows. Covers branching, merging, commits, pull requests, conflict resolution, and best practices for version control.arn how to use git

Repository from Github https://github.comHamzaAhmad-098/learning--gitRepository from Github https://github.comHamzaAhmad-098/learning--git

🧠 Git Learning Repository

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.


πŸš€ Goals

  • 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)

πŸ“¦ Topics Covered

  • git init
  • git add, git commit
  • git status, git log
  • git branch, git checkout, git switch
  • git merge, git rebase
  • git stash, git reset, git revert
  • git remote, git push, git pull, git fetch
  • git tag
  • .gitignore
  • Working with GitHub

πŸ§ͺ Practice Workflow

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

✍️ Notes

  • I will keep updating this repo with:
  • Real use-case experiments
  • Mistakes and how to fix them
  • GitHub interaction

πŸ§‘β€πŸ’» Author

Hamza Ahmad

2nd Year Computer Science Student at UET

πŸ“ Pakistan | 🌐 Learning Full Stack Web Dev


πŸ“« Contact

I'm open to internships , remote jobs , freelance projects, or tech collaboration.

Hamza Ahmad

πŸ”— GitHub: HamzaAhmad-098

About

leπŸ“š A hands-on repository for learning Git CLI commands and GitHub Desktop workflows. Covers branching, merging, commits, pull requests, conflict resolution, and best practices for version control.arn how to use git