A Hands-On and Visual Guide to the Basics of Git
Anna Skoulikari

#Git
📘 این کتاب Git رو به شکلی ساده، بصری و ملموس آموزش میده تا یک مدل ذهنی محکم از نحوه کار Version Control در Git بسازی. با استفاده از رنگ، داستانگویی و تمرینهای عملی، یاد میگیری با اعتمادبهنفس از این ابزار استفاده کنی.
🧩 مطالب بهتدریج معرفی میشن تا با اصطلاحها و مفاهیم ناشناخته سردرگم نشی. کتاب Learning Git برای هر کسی مناسبه که باید در پروژههای شخصی یا حرفهای از Git استفاده کنه؛ از دانشجوهای بوتکمپهای برنامهنویسی و دولوپرهای تازهکار گرفته تا متخصصهای داده و نویسندههای فنی.
🎯 چیزهایی که یاد میگیری
⬇️ Git رو دانلود میکنی و یک Repository محلی میسازی
📂 فایلها رو به Staging Area اضافه میکنی و Commit میسازی
🌿 Branchها رو ایجاد، جابهجا و حذف میکنی
🔀 Branchها رو با Merge و Rebase ترکیب میکنی
🌐 با Repositoryهای Remote کار میکنی و عملیاتهایی مثل Clone، Push، Pull و Fetch رو انجام میدی
🤝 با استفاده از Pull Request با بقیه اعضای تیم همکاری میکنی
📖 فهرست مطالب
فصل ۱. Git و Command Line
فصل ۲. Repositoryهای محلی
فصل ۳. ساخت Commit
فصل ۴. Branchها
فصل ۵. Merge کردن
فصل ۶. سرویسهای میزبانی و Authentication
فصل ۷. ساخت Repository راهدور و Push کردن به اون
فصل ۸. Clone و Fetch
فصل ۹. Merge سهطرفه
فصل ۱۰. تداخلهای Merge
فصل ۱۱. Rebase
فصل ۱۲. Pull Requestها یا Merge Requestها
👤 این کتاب برای چه کسانیه؟
👨💻 این کتاب برای هر کسی نوشته شده که میخواد مبانی نحوه کار Git رو یاد بگیره. بهطور خاص برای افرادی طراحی شده که تازه دارن مهارتهای فنی یاد میگیرن یا در نقشهای غیرفنی فعالیت میکنن، اما برای همکاری با اعضای فنی تیم به Git نیاز دارن.
🎓 دانشجوهای بوتکمپ برنامهنویسی، دانشجوهای علوم کامپیوتر، نویسندههای فنی، مدیرهای محصول، طراحها، دولوپرهای تازهکار، دانشمندهای داده و برنامهنویسهای خودآموز از جمله مخاطبهای این کتاب هستن.
🌱 کتاب هم برای افرادی مناسبه که هیچ تجربهای در استفاده از Git ندارن و هم برای کسانی که کمی با اون کار کردهاند. اگر تا حالا از Git استفاده نکردی، مشکلی نیست؛ آموزش از صفر، با نصب Git و کار با Command Line شروع میشه و بعد بهتدریج جلو میره.
📌 اگر قبلا کمی با Git یا Command Line کار کردی، ممکنه فصل اول برات حالت مرور داشته باشه. با این حال، بهتره از اون عبور نکنی، چون پروژه Rainbow که در ادامه کتاب باهاش کار میکنی، در همین فصل آماده میشه.
🛠️ روش استفاده از کتاب
⌨️ این کتاب یک تجربه یادگیری عملی ارائه میده و همزمان با یاد گرفتن مفاهیم پایه Git، تمرینها رو روی کامپیوتر خودت انجام میدی. در سراسر کتاب با دو پروژه روبهرو میشی: پروژه Rainbow و پروژه Book.
🌈 پروژه Rainbow یک پروژه عملی و سادهشده است که با انجام تمرینهای کتاب مرحلهبهمرحله روی اون کار میکنی. این پروژه فقط برای اهداف آموزشی طراحی شده.
📚 پروژه Book یک پروژه فرضیه که نویسنده از اون استفاده میکنه تا نشون بده قابلیتهای مختلف Git در یک پروژه واقعیتر چطور به کار گرفته میشن.
📝 نگران اصطلاحهایی مثل Repository و Commit نباش؛ حتی اگر در مقدمه هنوز با اونها آشنا نیستی، تمام این مفاهیم در فصلهای بعدی توضیح داده میشن.
💬 نظرها
💭 «این کتاب یک راهنمای فوقالعاده سرگرمکننده، قابلفهم و در عین حال بسیار کامل برای افرادیه که میخوان دانش عملی خوبی از Git به دست بیارن.»
— رابرت سی. مارتین، عمو باب، Software Craftsman و نویسنده کتاب Clean Code
💭 «آنا همون کتابی رو نوشته که کامیونیتی Git بهش نیاز داشت. فرقی نمیکنه با چه روشی بهتر یاد میگیری؛ با این کتاب میتونی Git رو یاد بگیری.»
— بن استراوب، دولوپر و همنویسنده کتاب Pro Git
👤 درباره نویسنده
👩💻 آنا اسکولیکاری فردی خلاق، طراح، مدرس و متخصص ارتباطات فنیه. او سابقه فعالیت حرفهای بهعنوان طراح UX، دولوپر Frontend و نویسنده فنی رو داره.
🎓 آنا Git رو از طریق دوره آنلاین پرامتیاز خودش در Udemy و ورکشاپهای آنلاین آموزش میده. تجربه گسترده او در طراحی، داستانگویی و ارتباطات کمک کرده Git رو به شکلی ساده، ملموس و بصری آموزش بده.
This book teaches Git in a simple, visual, and tangible manner so that you can build a solid mental model of how Git version control works. Through the use of color, storytelling, and hands-on exercises, you will learn to use this tool with confidence.
The information is introduced incrementally so that you don't get bogged down with unknown terms or concepts. Learning Git is ideal for anyone who needs to use Git for personal or professional projects: coding bootcamp students, junior developers, data professionals, and technical writers, to name just a few!
This book covers how to:
Table of Contents
Chapter 1. Git and the Command Line
Chapter 2. Local Repositories
Chapter 3. Making a Commit
Chapter 4. Branches
Chapter 5. Merging
Chapter 6. Hosting Services and Authentication
Chapter 7. Creating and Pushing to a Remote Repository
Chapter 8. Cloning and Fetching
Chapter 9. Three-Way Merges
Chapter 10. Merge Conflicts
Chapter 11. Rebasing
Chapter 12. Pull Requests (Merge Requests)
Who This Book Is For
This book is for anyone who wants to learn the basics of how Git works. It is especially designed for individuals that are just getting started learning technical skills, or that work in nontechnical roles but need to use Git to collaborate with their technical counterparts. Some examples of individuals that may benefit from this book include (but are not limited to) coding bootcamp students, computer science students, technical writers, product managers, designers, junior developers, data scientists, and self-taught programmers.
The book is written for people with no experience using Git, as well as those with a bit of experience using Git. If you have no experience with Git, that’s not a problem since this book starts from zero. We’ll begin with installing Git and how to use the command line, and build from there.
If you already have some experience using Git or the command line, the first chapter may be a bit of review. However, I encourage you not to skip it because it sets up the Rainbow project that you will be using throughout the rest of the book.
Using This Book
This book is a hands-on learning experience, where you will be carrying out exercises on your computer while learning the basic concepts of Git. Throughout the book, you will come across two projects: the Rainbow project and the Book project.
The Rainbow project is a hands-on project that you will work on by going through the exercises in the book. It is a simplified project that is intended only for learning purposes. The Book project is an imaginary project that I’ll use to demonstrate how certain features of Git might be used for a more realistic project. Let’s take a closer look at each of these, and at the way the book is structured.
[ NOTE ] Don’t worry if this preface contains terminology that you are not yet familiar with, like repository and commit. I’ll explain all of these concepts in the chapters to come.
"This is an extremely fun and accessible, and yet very thorough, guide for those who want to acquire a good working knowledge of Git." - Robert C. Martin (Uncle Bob) (Software Craftsman and Author of Clean Code)
"Anna has written the book that the Git community needs. No matter how you learn best, you can learn Git from this book." - Ben Straub (Developer and Coauthor of Pro Git)
Anna Skoulikari is a creative, designer, educator, and tech communicator. She has professional experience working as a UX designer, frontend developer, and technical writer. She teaches Git through her highest rated online course on Udemy and online workshops. Her work benefits from her wide ranging experience in design, storytelling and communication which are all skills she combines to teach Git in a simple, tangible, and visual manner.









